Ive created a script for users in my company to use with powershell ise and when I run it there using F5 it is working.
Ive set the executionpolicy to unrestricted as well.
Later Ive tried to open this script with powershell.exe because I need it to run straight for the users, and it gave the error:
The term "C:\users\ofir\Script\Json is not recognized as a cmdlet, function, script file, or operable program..
What could be the problem? Thanks, Ofir.
Ive tried to open this script with powershell.exe? Typed something (what, where, how)? Clicked something (what, where, how)?Json? If it is, add the missing.ps1extension.