Archive for January 27th, 2021

How to call a Powershell script with a path having white space from command line

January 27, 2021
By shareef

How to call a script from PowerShell console when the script file path contains white space. PS C:\> c:\new folder\myscript.ps1 param1 (will give the below error) The term ‘c:\new’ is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again. Putting the path in between the quotations...

Read more »