I am trying to run some az commands from a Jenkins pipeline which (running in Windows 10) I already used in my laptop´s Jenkins, but when trying to use it on another computer (also running w10) I get this error :
```
11:12:47 powershell.exe : az : The term 'az' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
11:12:47 At C:\Users\User\.jenkins\workspace\playground@tmp\durable-933c3d89\powershellWrapper.ps1:3 char:1
11:12:47 + & powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -Comm ...
11:12:47 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11:12:47 + CategoryInfo : NotSpecified: (az : The term '...ram. Check the :String) [], RemoteException
11:12:47 + FullyQualifiedErrorId : NativeCommandError
11:12:47
11:12:47 spelling of the name, or if a path was included, verify that the path is correct and try again.
11:12:47 At C:\Users\User\.jenkins\workspace\playground\tmp\durable-933c3d89\powershellScript.ps1:3 char:25
11:12:47 + az devops configure --defaults organization=h ...
11:12:47 + ~~
11:12:47 + CategoryInfo : ObjectNotFound: (az:String) [], CommandNotFoundException
11:12:47 + FullyQualifiedErrorId : CommandNotFoundException
11:12:47
11:12:47 az : The term 'az' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
11:12:47 spelling of the name, or if a path was included, verify that the path is correct and try again.
11:12:47 At C:\Users\User\.jenkins\workspace\playground@tmp\durable-933c3d89\powershellScript.ps1:4 char:35
11:12:47 + $output = az boards work-item show --id=89609 ...
11:12:47 + ~~
11:12:47 + CategoryInfo : ObjectNotFound: (az:String) [], CommandNotFoundException
11:12:47 + FullyQualifiedErrorId : CommandNotFoundException
```
However running any command from the cmd / powershell works fine. I have set the ```Set-ExecutionPolicy Unrestricted``` command but I do not get any hint of what is going wrong