Difference between revisions of "Powershell Remote Access"
Jump to navigation
Jump to search
Michael.mast (talk | contribs) (Created page with "<ref>https://stackoverflow.com/questions/21548566/how-to-add-more-than-one-machine-to-the-trusted-hosts-list-using-winrm</ref> <pre> winrm set winrm/config/client '@{TrustedHo...") |
Michael.mast (talk | contribs) |
||
Line 1: | Line 1: | ||
<ref>https://stackoverflow.com/questions/21548566/how-to-add-more-than-one-machine-to-the-trusted-hosts-list-using-winrm</ref> | <ref>https://stackoverflow.com/questions/21548566/how-to-add-more-than-one-machine-to-the-trusted-hosts-list-using-winrm</ref> | ||
<pre> | <pre> | ||
+ | enable-psremoting -force | ||
winrm set winrm/config/client '@{TrustedHosts="machineA,machineB"}' | winrm set winrm/config/client '@{TrustedHosts="machineA,machineB"}' | ||
</pre> | </pre> |
Revision as of 15:05, 14 June 2017
enable-psremoting -force winrm set winrm/config/client '@{TrustedHosts="machineA,machineB"}'