MSAcpi



Requirements
Supported on all Windows platforms.

Namespace

Class MSAcpi originates from WMI namespace root\WMI

Methods

Class MSAcpi has no methods.

Properties

Class MSAcpi has the following properties.



Remarks

Class MSAcpi is derived from these classes:



Sample Code

This sample demonstrates how to enumerate all instances of this class.

[VBScript]


strServer = "."

Set objWMI = GetObject("winmgmts://" & strServer & "/root\WMI")
Set objInstances = objWMI.InstancesOf("MSAcpi",48)

For Each objInstance in objInstances
   WScript.Echo objInstance.getObjectText_
Next

This sample demonstrates how to list all individual properties of all instances of this class.

[VBScript]


strServer = "."

Set objWMI = GetObject("winmgmts://" & strServer & "/root\WMI")
Set objInstances = objWMI.InstancesOf("MSAcpi",48)

On Error Resume Next
For Each objInstance in objInstances
    With objInstance
    End With
On Error Goto 0
Next


Weitere Informationen:

MSDN Documentation