Project Description
This PowerShell module provides basic functions to access CIM from the network. Main purporse of this module was using HP EVA SMI-S interface.

Currently there is only one function: Get-CIMObject that allows to retrieve one or more instances of CIM objects from server.
Module requires PowerShell v.2 to use. It available to download at http://support.microsoft.com/kb/968930

Usage example:
#Import module to access it functions:
Import-Module C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSCIM\PSCIM.psm1

#Save credentials required to access service to variable:
$Cred = Get-Credential

#Use function to retreive all instances of HPEVA_StoragePool from server Server1 to variable $Pools
$Pools = Get-CIMObject -Url HTTP://Server1:5988 -Namespace root\eva -Credential $cred -Class HPEVA_StoragePool

#Now you can use standard PowerShell functions to work with results:
$pools | format-table Name, Status, PoolID

Last edited Jul 21, 2011 at 2:12 PM by Xaegr, version 4