I need run a powershell script with switches
./MyPsScript.ps1 -run dothis
However, when the script is like this:
./MyPsScript.ps1 -run do this (it fails)
How do I insert quotes around "do this" so it sees it as a loggical unit?
I need run a powershell script with switches
./MyPsScript.ps1 -run dothis
However, when the script is like this:
./MyPsScript.ps1 -run do this (it fails)
How do I insert quotes around "do this" so it sees it as a loggical unit?