Contact Info

Crumbtrail

ActiveXperts.com » Support » Network Monitor » KB Article

Knowledge Base FAQ Item #7260022

 

Q7260022: Verify WMI over WinRM on a (remote) Windows machine I want to monitor?

You can easily check if WMI/WinRM is enabled or disabled by using the following Powershell command on the Windows machine you want to monitor:

Get-WSManInstance -ComputerName MYSERVER01 -Enumerate -ResourceURI wmicimv2/* -Filter "SELECT * FROM Win32_ComputerSystem"

OR, if you want to use credentials other than the one you logged in with:

Get-WSManInstance -ComputerName MYSERVER01 -Credential "MYDOMAIN01\Administrator" -Enumerate -ResourceURI wmicimv2/* -Filter "SELECT * FROM Win32_ComputerSystem"
(viewed: 1197)