Win32_PortResource class

The Win32_PortResource WMI class represents an I/O port on a computer system running Windows.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[Dynamic, Provider("CIMWin32"), UUID("{8502C4D0-5FBB-11D2-AAC1-006008C78BC7}"), AMENDMENT]
class Win32_PortResource : Win32_SystemMemoryResource
{
  boolean  Alias;
  string   Caption;
  string   CreationClassName;
  string   CSCreationClassName;
  string   CSName;
  string   Description;
  uint64   EndingAddress;
  datetime InstallDate;
  string   Name;
  uint64   StartingAddress;
  string   Status;
};

Members

The Win32_PortResource class has these types of members:

Properties

The Win32_PortResource class has these properties.

Alias

Data type: boolean

Access type: Read-only

Qualifiers: MappingStrings ("Win32API|Configuration Manager Structures|IO_INFO")

If TRUE, this instance represents one of the ranges with an alias. If FALSE, the instance represents a base port address. A base port address is a predetermined port address dedicated to a specific service or device. A port alias address is one that a device responds to as if it were the actual address of an I/O port.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), DisplayName ("Caption")

Short description of the object.

This property is inherited from CIM_ManagedSystemElement.

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256), CIM_Key

Name of the first concrete class to appear in the inheritance chain used in the creation of an instance. When used with the other key properties of the class, the property allows all instances of this class and its subclasses to be uniquely identified.

This property is inherited from CIM_MemoryMappedIO.

CSCreationClassName

Data type: string

Access type: Read-only

Qualifiers: Propagated ("CIM_ComputerSystem.CreationClassName"), CIM_Key, MaxLen (256)

Creation class name of the scoping computer system.

This property is inherited from CIM_MemoryMappedIO.

CSName

Data type: string

Access type: Read-only

Qualifiers: Propagated ("CIM_ComputerSystem.Name"), MaxLen (256), CIM_Key

Name of the scoping computer system.

This property is inherited from CIM_MemoryMappedIO.

Description

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Description")

Description of the object.

This property is inherited from CIM_ManagedSystemElement.

EndingAddress

Data type: uint64

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|Memory Mapped I/O|001.2")

Ending address of memory mapped I/O.

This property is inherited from CIM_MemoryMappedIO.

For more information about using uint64 values in scripts, see Scripting in WMI.

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("Install Date")

Date and time the object was installed. This property does not need a value to indicate that the object is installed.

This property is inherited from CIM_ManagedSystemElement.

Name

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Name")

Label by which the object is known. When subclassed, the property can be overridden to be a key property.

This property is inherited from CIM_ManagedSystemElement.

StartingAddress

Data type: uint64

Access type: Read-only

Qualifiers: Override ("StartingAddress"), Key, MappingStrings ("MIF.DMTF|Memory Mapped I/O|001.1")

Starting address of memory mapped I/O. The hardware resource identifier property should be set to this value to construct the mapped I/O resource key.

This property is inherited from CIM_MemoryMappedIO.

For more information about using uint64 values in scripts, see Scripting in WMI.

Status

Data type: string

Access type: Read-only

Qualifiers: MaxLen (10), DisplayName ("Status")

Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is online, yet the managed element is neither "OK" nor in one of the other states.

This property is inherited from CIM_ManagedSystemElement.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

Remarks

The Win32_PortResource class is derived from Win32_SystemMemoryResource.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
CIMWin32.mof
DLL
CIMWin32.dll

See also

Win32_SystemMemoryResource

Computer System Hardware Classes