Thursday, September 16, 2010

The term is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.

You tried to run a command in the current directory but forgot to prepend it with .\
Write the script in notepad , click save as and type "name.ps1"
In the powershell command prompt type PS > .\name.ps1
in Run prompt

No comments: