Powershell Remote Access
Revision as of 15:30, 14 June 2017 by Michael.mast (talk | contribs)
On server
enable-psremoting -force winrm set winrm/config/client '@{TrustedHosts="machineA,machineB"}'
On client
[3]Of course Microsoft would give you more options than you really need. If only we were on SSH already....
c Enter-PSSession -ComputerName COMPUTER -Credential USER
- ↑ https://stackoverflow.com/questions/21548566/how-to-add-more-than-one-machine-to-the-trusted-hosts-list-using-winrm
- ↑ https://www.howtogeek.com/117192/how-to-run-powershell-commands-on-remote-computers/
- ↑ https://4sysops.com/archives/use-powershell-invoke-command-to-run-scripts-on-remote-computers/