Skip to content

Instantly share code, notes, and snippets.

@NeilRobbins
Created November 21, 2012 17:06
Show Gist options
  • Save NeilRobbins/4126083 to your computer and use it in GitHub Desktop.
Save NeilRobbins/4126083 to your computer and use it in GitHub Desktop.
Enable Remote PS-Sessions

Log on as the local system admin (must be the local system administrator account, no other admin account works)

Then run:

  • winrm quickconfig -quiet
  • winrm set winrm/config/client @{TrustedHosts="*"}

Optional (lets chunky stuff be passed around):

  • Powershell Set-PSSessionConfiguration -name ` microsoft.powershell -MaximumReceivedObjectSizeMB 1000 -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment