ActiveXperts Knowledge Base Article 7250015

Our mission at ActiveXperts Software is to deliver high quality Network Monitoring solutions and Windows Development components. Our goal is to supplement these solutions with timely support resources that can help at many different levels.
The first thing you want to do is try to find the answer to your problem in the Knowledge Base. If you cannot find an answer to your question in our Knowledge Base, or if you need additional information or assistance, please use our Contact Support form.


Q7250015 - How to verify WMI access through DCOM?

To test whether you can connect to the remote computer using DCOM, run the following command in Powershell:

New-CimSession -ComputerName REMOTEMACHINE -SessionOption (New-CimSessionOption -Protocol Dcom)

or (with alternate credentials):

New-CimSession -ComputerName REMOTEMACHINE -SessionOption (New-CimSessionOption -Protocol Dcom) -Credential "DOMAIN\USER"

If you have access to the remote computer through DCOM, run the following Powershell command to verify access to WMI from DCOM:

Get-WmiObject -ComputerName REMOTEMACHINE -Query "SELECT * FROM Win32_ComputerSystem"

or (with alternate credentials):

Get-WmiObject -ComputerName REMOTEMACHINE -Credential "DOMAIN\USER" -Query "SELECT * FROM Win32_ComputerSystem"

If you cannot find an answer to your question(s) in our Knowledge Base, or if you need additional information or assistance, please contact our Customer Support using our Contact Support Form

M