Created
March 2, 2016 15:53
-
-
Save babo/0793539d1c3f611baf42 to your computer and use it in GitHub Desktop.
Userdata for windows machines
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> | |
Import-Module AWSPowerShell | |
Copy-S3Object -BucketName joc-internal-resources -Key installer/windows2012/run_userdata.ps1 -LocalFile "$env:temp\run_userdata.ps1" | |
Set-ExecutionPolicy -executionpolicy remotesigned -force | |
& "$env:temp\run_userdata.ps1" | |
</powershell> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment