Summary: Use Windows PowerShell and WSMan to obtain service information about WinRM.
How can I use Windows PowerShell 3.0 with WSMan to query service information?
Use the Get-WsmanInstance cmdlet and specify a resource URI.
This example obtains information about the WinRM service on a remote computer named DC1:
get-wsmaninstance wmicimv2/win32_service -selectorset @{name=”winrm”} -computer dc1
0 comments