Skip to content

Instantly share code, notes, and snippets.

@techniq
Last active June 28, 2016 23:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save techniq/5922544 to your computer and use it in GitHub Desktop.
Save techniq/5922544 to your computer and use it in GitHub Desktop.
PowerShell remoting
Enable-PSRemoting
$creds = Get-Credential
Enter-PSSession -ComputerName [NAME] -Credentials $creds
Invoke-Command -ComputerName [NAME] -Credentials $creds { get-UICulture }
http://www.thecodeking.co.uk/2011/02/winrm-with-mixed-domain-environments.html
http://technet.microsoft.com/en-us/library/hh849707.aspx
http://technet.microsoft.com/en-us/library/hh849719.aspx
http://technet.microsoft.com/en-us/library/dd819505.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ee706585(v=vs.85).aspx
http://technet.microsoft.com/en-us/magazine/ff700227.aspx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment