Category Archives: PowerShell

Executing a PowerShell Script Like a Batch File


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.

Also posted in Javascript | Leave a comment