Monthly Archives: March 2013

Executing a PowerShell Script Like a Batch File

powershell_2

If you have ever tried to execute a PowerShell script (files ending in .PS1) by double-clicking on the file, you will have noticed that instead of running the script, it opens a text editor. Whatever your reasons, it turns out there is a way to execute PowerShell scripts in this manner. Here’s how.

Posted in Javascript, PowerShell | Leave a comment