Skip to content

Instantly share code, notes, and snippets.

@dsudduth
Forked from techniq/remoting.ps1
Created June 28, 2016 23:37
Show Gist options
  • Select an option

  • Save dsudduth/707d6463814ae41437c894cbdc1a6005 to your computer and use it in GitHub Desktop.

Select an option

Save dsudduth/707d6463814ae41437c894cbdc1a6005 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