The term 'praram_switch.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program.

07/01/2012 14:17

C:\Documents and Settings\Lukas\My Documents\P_R_O_G_R_A_MOVANIE\powerShell>powershell praram_switch.ps1


The term 'praram_switch.ps1' 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.
At line:1 char:18
+ praram_switch.ps1 <<<<
    + CategoryInfo          : ObjectNotFound: (praram_switch.ps1:String) [], C
   ommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

 

Instead of powershell praram_switch.ps1 enter powershell .\praram_switch.ps1 to windows command line (NOT powershell command line)