CIM_PhysicalLink

CIM Physical Link
root/cimv2abstract

The CIM_PhysicalLink class represents the cabling of physical elements.

On this page

Main example

Examples

Properties

19 of 19 properties
NameTypeAccessDescription
Captionstringread

Short textual description of the object.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Caption for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, Caption |
    Select-Object -Property Tag, Caption
CreationClassName keystringread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CreationClassName for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, CreationClassName |
    Select-Object -Property Tag, CreationClassName
Descriptionstringread

Textual description of the object.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Description for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, Description |
    Select-Object -Property Tag, Description
InstallDatedatetimeread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of InstallDate for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, InstallDate |
    Select-Object -Property Tag, InstallDate
Lengthreal64read

Current length of the physical link, in feet. For some connections, especially wireless technologies, this property might not be applicable and should be left uninitialized.

Unit: feet

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Length for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, Length |
    Select-Object -Property Tag, Length
Manufacturerstringread

Name of the organization responsible for producing the physical element. For more information, see the Vendor property of CIM_Product.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Manufacturer for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, Manufacturer |
    Select-Object -Property Tag, Manufacturer
MaxLengthreal64read

Maximum length of the physical link in feet.

Unit: feet

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of MaxLength for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, MaxLength |
    Select-Object -Property Tag, MaxLength
MediaTypeuint16read

Type of media through which transmission signals pass. Common network media include twisted-pair, coaxial, and fiber-optic cable.

Values (18)
ValueLabelDescription
0Unknown
1Other
2Cat1
3Cat2
4Cat3
5Cat4
6Cat5
750-ohm Coaxial
875-ohm Coaxial
9100-ohm Coaxial
10Fiber-optic
11UTP
12STP
13Ribbon Cable
14Twinaxial
15Optical 9um
16Optical 50um
17Optical 62.5um
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of MediaType for each instance
# Lookup table for MediaType (values documented by Microsoft)
$mediaTypeName = @{
    0 = 'Unknown'
    1 = 'Other'
    2 = 'Cat1'
    3 = 'Cat2'
    4 = 'Cat3'
    5 = 'Cat4'
    6 = 'Cat5'
    7 = '50-ohm Coaxial'
    8 = '75-ohm Coaxial'
    9 = '100-ohm Coaxial'
    10 = 'Fiber-optic'
    11 = 'UTP'
    12 = 'STP'
    13 = 'Ribbon Cable'
    14 = 'Twinaxial'
    15 = 'Optical 9um'
    16 = 'Optical 50um'
    17 = 'Optical 62.5um'
}
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, MediaType |
    Select-Object -Property @(
        'Tag'
        @{ Name = 'MediaType'; Expression = { $mediaTypeName[[int]$_.MediaType] } }
    )
Modelstringread

Name by which the physical element is generally known.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Model for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, Model |
    Select-Object -Property Tag, Model
Namestringread

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

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Name for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, Name |
    Select-Object -Property Tag, Name
OtherIdentifyingInfostringread

Additional data, beyond asset tag information, that can be used to identify a physical element. One example is bar-code data that is associated with an element, which also has an asset tag. Note that if only bar-code data is available, and is unique and able to be used as an element key, this property would be null and the bar-code data would be used as the class key in the Tag property. This property is inherited from CIM_PhysicalElement.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of OtherIdentifyingInfo for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, OtherIdentifyingInfo |
    Select-Object -Property Tag, OtherIdentifyingInfo
PartNumberstringread

Part number assigned by the organization responsible for producing or manufacturing the physical element.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PartNumber for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, PartNumber |
    Select-Object -Property Tag, PartNumber
PoweredOnbooleanread

If TRUE, the physical element is powered on.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PoweredOn for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, PoweredOn |
    Select-Object -Property Tag, PoweredOn
SerialNumberstringread

Manufacturer-allocated number used to identify the physical element.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of SerialNumber for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, SerialNumber |
    Select-Object -Property Tag, SerialNumber
SKUstringread

Stock-keeping unit number for the physical element.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of SKU for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, SKU |
    Select-Object -Property Tag, SKU
Statusstringread

Current status of the object.

Values include the following:

Values (12)
ValueLabelDescription
OKOK
ErrorError
DegradedDegraded
UnknownUnknown
Pred FailPred Fail
StartingStarting
StoppingStopping
ServiceService
StressedStressed
NonRecoverNonRecover
No ContactNo Contact
Lost CommLost Comm
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Status for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, Status |
    Select-Object -Property Tag, Status
Tag keystringread

Arbitrary string that uniquely identifies the physical element and serves as the element's key. This property can contain information, such as asset tag or serial number data. The key for CIM_PhysicalElement is placed very high in the object hierarchy to independently identify the hardware or entity, regardless of physical placement in (or on) cabinets, adapters, and so on. For example, a removable component that can be hot-swapped can be taken from its containing (scoping) package and be temporarily unused. The object still continues to exist and can even be inserted into a different scoping container. The key for a physical element is an arbitrary string that is defined independently of placement or location-oriented hierarchy.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Tag for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag |
    Select-Object -Property Tag
Versionstringread

Version of the physical element.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Version for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, Version |
    Select-Object -Property Tag, Version
Wiredbooleanread

If TRUE, the physical link is a cable. Otherwise, it is a wireless connection.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Wired for each instance
Get-CimInstance -ClassName CIM_PhysicalLink -Property Tag, Wired |
    Select-Object -Property Tag, Wired

Remarks

The CIM_PhysicalLink class is derived from CIM_PhysicalElement.

WMI does not implement this class.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

Inheritance

Superclass chain

  1. CIM_ManagedSystemElement
  2. CIM_PhysicalElement
  3. CIM_PhysicalLink

Known subclasses

No known subclass.

Requirements

Namespace
root/cimv2
Minimum client
Windows Vista
Minimum server
Windows Server 2008
MOF file
CIMWin32.mof
DLL
CIMWin32.dll
Class qualifiers

Abstract UUID("{FAF76B82-798C-11D2-AAD1-006008C78BC7}") AMENDMENT

Microsoft source

Source: Microsoft Learn

Descriptions, properties and methods come from the Microsoft documentation (MicrosoftDocs/win32 repository), published under the CC BY 4.0 licence. Formatting and translations are specific to this site; the PowerShell examples are written for it.