Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Invoke-Command -ComputerName REMOTE_MACHINE -ScriptBlock { COMMAND } -credential Administrator
- [REMOTE_MACHINE] Connecting to remote server REMOTE_MACHINE failed with the following error message : The WinRM client cannot process the request. If the
- authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine
- must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be
- authenticated. You can get more information about that by running the following command: winrm help config. For more information, see the
- about_Remote_Troubleshooting Help topic.
- + CategoryInfo : OpenError: (REMOTE_MACHINE:String) [], PSRemotingTransportException
- + FullyQualifiedErrorId : ServerNotTrusted,PSSessionStateBroken
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement