Run with PowerShell

Came across  something new today – Run with PowerShell.

if you have PowerShell 3.0 or later installed – right click on your script and select “Run with PowerShell”

A few rules though – The script can’t take parameters or output anything to the prompt. You can’t interact with the script or the console window.

Execution policy is set to Bypass – not sure I like that idea  – unless the ExecutionPolicy is Allsigned in which case only signed scripts can be run this way.  See about_Run_With_PowerShell for more details

This entry was posted in Powershell. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s