Created
May 8, 2017 19:31
-
-
Save jcefoli/6ba224bd7d8af1c00a295ef21db52290 to your computer and use it in GitHub Desktop.
Call Powershell Script With Parameters from Batch File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
powershell.exe -ExecutionPolicy Bypass -Command "& {C:\YourScript.ps1 -Parameter 'Value'}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment