Skip to content

Instantly share code, notes, and snippets.

@ju2wheels
Created February 16, 2015 18:42
Show Gist options
  • Save ju2wheels/021c949a3a1694b82499 to your computer and use it in GitHub Desktop.
Save ju2wheels/021c949a3a1694b82499 to your computer and use it in GitHub Desktop.
WinRM QuickConfig post install script
powershell -command "& {set-executionpolicy -force unrestricted; $wget = New-Object System.Net.WebClient; New-Item -ItemType directory -Path 'c:/post_install'; $wget.DownloadFile('https://gist.githubusercontent.com/ju2wheels/6c231004f09ef232ea73/raw/4bd93da9f3db3700721583a9bbf015b452d8c941/winrm_quickconfig_test.ps1','c:/post_install/post_install.ps1'); c:\post_install\post_install.ps1}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment