I was recently working on a script that made some changes to my powershell profile configuration
Running choco gives the error The term 'choco' is not recognized as the name of a cmdlet
running az login gives the error az : The term 'az' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again
The issue is that these applications are installed on the computer, its just that the shortcut to call the applications do not work, like in the examples above. I have tried to do a reinstall hoping this would fix the issue, this hasn't been the case, in the case of azcli I have ran a new installation via chocolatey with the force command its currently stuck.
These commands works from the command prompt but not from a powershell console.
Any ideas as to what I need to do to resolve please ?