Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Quotes Problem

$
0
0

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?

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles