Test-WsMan DESKTOP-AA7J9T7.leodom.local
Test-WsMan -UseSSL DESKTOP-AA7J9T7.leodom.local

For self-signed certificates:

Enter-PSSession -UseSSL -SessionOption (New-PSSessionOption -SkipCACheck) -ComputerName server01

Connect from the DC

Enter-PSSession -Computername DESKTOP-AA7J9T7.leodom.local


Windows Remote Management (WinRM) is the Microsoft implementation of WS-Management Protocol, a standard Simple Object Access Protocol (SOAP)-based, firewall-friendly protocol that allows hardware and operating systems, from different vendors, to interoperate.

The WS-Management protocol specification provides a common way for systems to access and exchange management information across an IT infrastructure. WinRM and Intelligent Platform Management Interface (IPMI), along with the Event Collector are components of the Windows Hardware Management features.




Web Services for Management (WS-Management), a public standard protocol, which is SOAP-based, for sharing management data among all operating systems, computers, and devices. All messages sent by the WinRM client or server components use this protocol.

PS C:\Windows\system32> Get-ChildItem -Path WSMan:\localhost

   WSManConfig: Microsoft.WSMan.Management\WSMan::localhost

Type            Name                           SourceOfValue   Value
----            ----                           -------------   -----
System.String   MaxEnvelopeSizekb                              500
System.String   MaxTimeoutms                                   60000
System.String   MaxBatchItems                                  32000
System.String   MaxProviderRequests                            4294967295
Container       Client
Container       Service
Container       Shell
Container       Listener
Container       Plugin
Container       ClientCertificate