Advertisement
Smalls1652

Simple Powershell Launch

Apr 29th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.10 KB | None | 0 0
  1. @echo off
  2.  
  3. PowerShell.exe -ExecutionPolicy Bypass -Command "& '%~p0powershell-script-name.ps1'"
  4.  
  5. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement