Hi there -
I’m working on a VM lab with two, non domain joined, Windows 10 clients. I’ve added each client to the other’s TrustedHosts in WinRM, and can successfully execute Get-CIMInstance commands using the -ComputerName parameter.
Here’s the issue: I can create a CIM session with New-CIMSession. However, when I try to use it (Get-CIMInstance -CIMSession), I get the following:
“get-ciminstance : 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.”
Any help would be appreciated. Thank you!