Windows Remote Management is one component of Windows Hardware Management features that manage server hardware locally and remotely.
winrm set winrm/config/client/auth @{Basic="true"}
winrm set winrm/config/client @{AllowUnencrypted="true"}
winrm set winrm/config/client @{TrustedHosts="192.168.1.100"}
Note: Replace the 192.168.1.100 with the host address of the server hosting the target OpenWSMAN service.
winrm quickconfig
winrm set winrm/config/service/auth @{Basic="true"}
winrm set winrm/config/service @{AllowUnencrypted="true"}
Verify the OpenWSMAN service is running on the target server. Run the following “winrm command” to test the connection:
winrm enumerate http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem -username:wsman -password:secret -r:143.166.157.213:8889/wsman -auth:basic
Output should look something like:
CIM_ComputerSystem Name = ZPB9K34 CreationClassName = CIM_ComputerSystem NameFormat = 'other' Dedicated = null ResetCapability = 1 PrimaryOwnerName = null PrimaryOwnerContact = null EnabledState = 2 OtherEnabledState = null RequestedState = 2 EnabledDefault = 2 TimeOfLastStateChange = null InstallDate = null OperationalStatus = null Status = null HealthState = 25 Caption = null Description ElementName = server1.domain.com