Advertisement
bluethundr12

Untitled

Mar 4th, 2021
1,202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Invoke-Command -ComputerName REMOTE_MACHINE -ScriptBlock { COMMAND } -credential Administrator
  2. [REMOTE_MACHINE] Connecting to remote server REMOTE_MACHINE failed with the following error message : The WinRM client cannot process the request. If the
  3. 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
  4. must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be
  5. authenticated. You can get more information about that by running the following command: winrm help config. For more information, see the
  6. about_Remote_Troubleshooting Help topic.
  7.     + CategoryInfo          : OpenError: (REMOTE_MACHINE:String) [], PSRemotingTransportException
  8.     + FullyQualifiedErrorId : ServerNotTrusted,PSSessionStateBroken
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement