WinRM
Introduction
Windows Remote Management (WinRM) is the Microsoft implementation of the WS-Management protocol.
Configuration
CIM Cmdlet
Introduced in PowerShell ver 3.0.
Older WMI Cmdlet
The older WMI cmdlets use the DCOM protocol, which is compatible with older versions of Windows but may be blocked by firewall on newer versions of Windows.
Remote Management
The Get-CimInstance
cmdlet uses the WSMan protocol by default. Read Should I use CIM or WMI with Windows PowerShell?.
We can test whether the WinRM service is running on a local or remote computer with Test-WSMan.
Interactively get credential with Get-Credential
or use System.Management.Automation.PSCredential
to query information from remote host.
PowerShell Remoting
Last updated