Eggins.com
Powershell, .Net, Visual Studio, Team Foundation Server, Windows Communication Foundation

Drag-Drop to execute Powershell scripts

Save this batch file to the HDD where your powershell script files are. You can then drag your powershell "PS1" files onto this batch file and they will be executed.

REM ---------------- Start Batch file
"C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe\powershell.exe" -Command "%1"
pause
REM ---------------- End Batch File


Posted Feb 22 2007, 01:12 PM by David
Filed under:

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Copyright eggins.com, 1998 - 2008
Powered by Community Server (Non-Commercial Edition), by Telligent Systems