Created
May 7, 2016 20:17
-
-
Save stavarotti/3eccca44da3887fd5e335aaa06c6c725 to your computer and use it in GitHub Desktop.
This file contains 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
:: When calling a PowerShell script, we need to bypass the the default policy which restricts (a good thing) script from running. | |
PowerShell -Command "if((Get-ExecutionPolicy) -ne 'Unrestricted') { Set-ExecutionPolicy Bypass -Scope Process }" "C:\vm\vmware\win7-startup.ps1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment