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

Can PowerShell pull CIM data from non windows sources?

$
0
0

I have a storage unit with a CIM agent running on it, and would like to use PowerShell to pull administrative data from it.

After some searching around the web, I found this, that works fine with windows boxes.

$so = New-CimSessionOption -Protocol Dcom
$cim = New-CimSession -ComputerName "computername" -SessionOption $so

However anytime I try pointing it to one of the storage units I get the error "New-CimSession : The RPC server is unavailable."

The CIM agent is working, because we have other monitoring tools that utilize it. 

- Thanks


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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