Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Problem using Get-CimInstance remotely for some namespaces

$
0
0

I am trying to get some info on my array controller remotely on an HP server. HP provides a namespace for this, and a class about the array controller. The following, using the get-WMIObject command, works:

Get-WMIObject -ComputerName server01 -Namespace "root\hpq" -ClassName HPSA_ArrayController

However, this does not:

Get-CimInstance -ComputerName server01 -Namespace "root\hpq" -ClassName HPSA_ArrayController

It gives me the following error: "The WS-Management service cannot process the request. The DMTF class in the repository uses a different major version number from the requested class. This class can be accessed using a non-DMTF resource URI."

What is more puzzling is that if I enter a remote session to server01 and run the Get-CimInstance command (without the computername parameter, of course), it gives me a result as expected. I should also point out that querying information remotely using Get-CimInstance for other namespaces (e.g. root\cimv2) works fine.

Any idea what may be going on?


Eric Hodges


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>