18 lines
575 B
PowerShell
18 lines
575 B
PowerShell
$PETCapabilitiesRef = $wsmanConnectionObject.NewReference("AMT_PETCapabilities")
|
|
|
|
foreach($elementCapabilitiesItem in $PETCapabilitiesRef.Enumerate("http://schemas.dmtf.org/wbem/wsman/1/wsman/SelectorFilter", $null))
|
|
{
|
|
|
|
$capabilitiesInstance = $elementCapabilitiesItem.Object
|
|
|
|
$inctanceID = $capabilitiesInstance.GetProperty("InstanceID")
|
|
|
|
$eventSensorType = $capabilitiesInstance.GetProperty("EventSensorType")
|
|
|
|
$eventType = $capabilitiesInstance.GetProperty("EventType")
|
|
|
|
$deviceAddress = $capabilitiesInstance.GetProperty("DeviceAddress")
|
|
|
|
}
|
|
|