Powershell Remote Access

From Michael's Information Zone
Revision as of 15:08, 14 June 2017 by Michael.mast (talk | contribs)
Jump to navigation Jump to search

[1][2] On server

enable-psremoting -force
winrm set winrm/config/client '@{TrustedHosts="machineA,machineB"}'

On client

Enter-PSSession -ComputerName COMPUTER -Credential USER