One of the things that people often struggle with when they try to use PowerShell scripts as targets of Scheduled Tasks, or launch PowerShell scripts from cmd.exe is the following error message:
Read moreC:\Program Files\Windows PowerShell\v1.0>powershell.exe “c:\temp\has space\test.ps1”
‘c:\temp\has’ is not recognized as a cmdlet, function, operable program, or script file.
At line:1 char:12
+ c:\temp\has …
