Win32_VideoController

Win32 Video Controller
root/cimv2dynamickey : DeviceID

Represents the capabilities and management capacity of the video controller on a computer system running Windows.

On this page

Main example

List instances

# All instances of Win32_VideoController, with the main properties
Get-CimInstance -ClassName Win32_VideoController |
    Select-Object -Property DeviceID, Description, Status, InstallDate

Examples

Filter with WQL

# WQL filter evaluated by the provider: Availability = 3 (Running/Full Power)
Get-CimInstance -ClassName Win32_VideoController -Filter 'Availability = 3' |
    Select-Object -Property DeviceID, Description, Status, InstallDate

The filter is evaluated by the WMI provider: less data is transferred than with Where-Object.

Decode numeric values

# Lookup table for Availability (values documented by Microsoft)
$availabilityName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Running/Full Power'
    4 = 'Warning'
    5 = 'In Test'
    6 = 'Not Applicable'
    7 = 'Power Off'
    8 = 'Off Line'
    9 = 'Off Duty'
    10 = 'Degraded'
    11 = 'Not Installed'
    12 = 'Install Error'
    13 = 'Power Save - Unknown'
    14 = 'Power Save - Low Power Mode'
    15 = 'Power Save - Standby'
    16 = 'Power Cycle'
    17 = 'Power Save - Warning'
    18 = 'Paused'
    19 = 'Not Ready'
    20 = 'Not Configured'
    21 = 'Quiesced'
}
# Lookup table for ConfigManagerErrorCode (values documented by Microsoft)
$configManagerErrorCodeName = @{
    0 = 'This device is working properly'
    1 = 'This device is not configured correctly'
    2 = 'Windows cannot load the driver for this device'
    3 = 'The driver for this device might be corrupted, or your…'
    4 = 'This device is not working properly'
    5 = 'The driver for this device needs a resource that Windows…'
    6 = 'The boot configuration for this device conflicts with other…'
    7 = 'Cannot filter'
    8 = 'The driver loader for the device is missing'
    9 = 'This device is not working properly because the controlling…'
    10 = 'This device cannot start'
    11 = 'This device failed'
    12 = 'This device cannot find enough free resources that it can use'
    13 = 'Windows cannot verify this device''s resources'
    14 = 'This device cannot work properly until you restart your…'
    15 = 'This device is not working properly because there is…'
    16 = 'Windows cannot identify all the resources this device uses'
    17 = 'This device is asking for an unknown resource type'
    18 = 'Reinstall the drivers for this device'
    19 = 'Failure using the VxD loader'
    20 = 'Your registry might be corrupted'
    21 = 'System failure: Try changing the driver for this device'
    22 = 'This device is disabled'
    23 = 'System failure: Try changing the driver for this device'
    24 = 'This device is not present, is not working properly, or does…'
    25 = 'Windows is still setting up this device'
    26 = 'Windows is still setting up this device'
    27 = 'This device does not have valid log configuration'
    28 = 'The drivers for this device are not installed'
    29 = 'This device is disabled because the firmware of the device…'
    30 = 'This device is using an Interrupt Request (IRQ) resource…'
    31 = 'This device is not working properly because Windows cannot…'
}

Get-CimInstance -ClassName Win32_VideoController |
    Select-Object -Property @(
        'DeviceID'
        'Description'
        'Status'
        'InstallDate'
        @{ Name = 'Availability'; Expression = { $availabilityName[[int]$_.Availability] } }
        @{ Name = 'ConfigManagerErrorCode'; Expression = { $configManagerErrorCodeName[[int]$_.ConfigManagerErrorCode] } }
    )

Query a remote computer (CIM session)

review before running
# Name of the remote computer
$computerName = 'SERVER01'
# The CIM session (WSMan by default) can be reused for several queries
$cimSession = New-CimSession -ComputerName $computerName
try {
    Get-CimInstance -CimSession $cimSession -ClassName Win32_VideoController |
        Select-Object -Property DeviceID, Description, Status, InstallDate
} finally {
    Remove-CimSession -CimSession $cimSession
}

WSMan (WinRM) is used by default. For a host without WinRM, create the session with -SessionOption (New-CimSessionOption -Protocol Dcom). Add -Credential to use another account.

Show the class structure

# Class structure: properties, types and flags (Key, ReadOnly…)
$cimClass = Get-CimClass -ClassName Win32_VideoController
$cimClass.CimClassProperties |
    Select-Object -Property Name, CimType, Flags

Properties

59 of 59 properties
NameTypeAccessDescription
AcceleratorCapabilitiesuint16[]read

Array of graphics and 3-D capabilities of the video controller.

Values (4)
ValueLabelDescription
0Unknown
1Other
2Graphics Accelerator
33D Accelerator3-D Accelerator
Code
# Value of AcceleratorCapabilities for each instance
# Lookup table for AcceleratorCapabilities (values documented by Microsoft)
$acceleratorCapabilitiesName = @{
    0 = 'Unknown'
    1 = 'Other'
    2 = 'Graphics Accelerator'
    3 = '3D Accelerator'
}
# AcceleratorCapabilities is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_VideoController -Property AcceleratorCapabilities |
    Select-Object -ExpandProperty AcceleratorCapabilities |
    ForEach-Object -Process { $acceleratorCapabilitiesName[[int]$_] }
AdapterCompatibilitystringread

General chipset used for this controller to compare compatibilities with the system.

Code
# Value of AdapterCompatibility for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, AdapterCompatibility |
    Select-Object -Property DeviceID, AdapterCompatibility
AdapterDACTypestringread

Name or identifier of the digital-to-analog converter (DAC) chip. The character set of this property is alphanumeric.

Code
# Value of AdapterDACType for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, AdapterDACType |
    Select-Object -Property DeviceID, AdapterDACType
AdapterRAMuint32read

Memory size of the video adapter.

Example: 64000

Unit: bytes

Code
# Value of AdapterRAM for each instance
# AdapterRAM is expressed in bytes: converted to GB
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, AdapterRAM |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'AdapterRAMGB'; Expression = { [math]::Round($_.AdapterRAM / 1GB, 2) } }
    )
Availabilityuint16read

Availability and status of the device.

Values (21)
ValueLabelDescription
1Other
2Unknown
3Running/Full PowerRunning or Full Power
4Warning
5In Test
6Not Applicable
7Power Off
8Off LineOffline
9Off Duty
10Degraded
11Not Installed
12Install Error
13Power Save - UnknownThe device is known to be in a power save mode, but its exact status is unknown.
14Power Save - Low Power ModeThe device is in a power save state but still functioning, and may exhibit degraded performance.
15Power Save - StandbyThe device is not functioning, but could be brought to full power quickly.
16Power Cycle
17Power Save - WarningThe device is in a warning state, though also in a power save mode.
18PausedThe device is paused.
19Not ReadyThe device is not ready.
20Not ConfiguredThe device is not configured.
21QuiescedThe device is quiet.
Code
# Value of Availability for each instance
# Lookup table for Availability (values documented by Microsoft)
$availabilityName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Running/Full Power'
    4 = 'Warning'
    5 = 'In Test'
    6 = 'Not Applicable'
    7 = 'Power Off'
    8 = 'Off Line'
    9 = 'Off Duty'
    10 = 'Degraded'
    11 = 'Not Installed'
    12 = 'Install Error'
    13 = 'Power Save - Unknown'
    14 = 'Power Save - Low Power Mode'
    15 = 'Power Save - Standby'
    16 = 'Power Cycle'
    17 = 'Power Save - Warning'
    18 = 'Paused'
    19 = 'Not Ready'
    20 = 'Not Configured'
    21 = 'Quiesced'
}
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, Availability |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'Availability'; Expression = { $availabilityName[[int]$_.Availability] } }
    )
CapabilityDescriptionsstring[]read

Free-form strings providing more detailed explanations for any of the video accelerator features indicated in the AcceleratorCapabilities array. Note, each entry of this array is related to the entry in the AcceleratorCapabilities array that is located at the same index.

Code
# Value of CapabilityDescriptions for each instance
# CapabilityDescriptions is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_VideoController -Property CapabilityDescriptions |
    Select-Object -ExpandProperty CapabilityDescriptions
Captionstringread

Short description of the object.

Code
# Value of Caption for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, Caption |
    Select-Object -Property DeviceID, Caption
ColorTableEntriesuint32read

Size of the system's color table. The device must have a color depth of no more than 8 bits per pixel; otherwise, this property is not set.

Example: 256

Code
# Value of ColorTableEntries for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, ColorTableEntries |
    Select-Object -Property DeviceID, ColorTableEntries
ConfigManagerErrorCodeuint32read

Win32 Configuration Manager error code.

Values (32)
ValueLabelDescription
0This device is working properly.Device is working properly.
1This device is not configured correctly.Device is not configured correctly.
2Windows cannot load the driver for this device.
3The driver for this device might be corrupted, or your system may be running low on memory or other resources.Driver for this device might be corrupted, or the system may be low on memory or other resources.
4This device is not working properly. One of its drivers or your registry might be corrupted.Device is not working properly. One of its drivers or the registry might be corrupted.
5The driver for this device needs a resource that Windows cannot manage.Driver for the device requires a resource that Windows cannot manage.
6The boot configuration for this device conflicts with other devices.Boot configuration for the device conflicts with other devices.
7Cannot filter.
8The driver loader for the device is missing.Driver loader for the device is missing.
9This device is not working properly because the controlling firmware is reporting the resources for the device incorrectly.Device is not working properly. The controlling firmware is incorrectly reporting the resources for the device.
10This device cannot start.Device cannot start.
11This device failed.Device failed.
12This device cannot find enough free resources that it can use.Device cannot find enough free resources to use.
13Windows cannot verify this device's resources.Windows cannot verify the device's resources.
14This device cannot work properly until you restart your computer.Device cannot work properly until the computer is restarted.
15This device is not working properly because there is probably a re-enumeration problem.Device is not working properly due to a possible re-enumeration problem.
16Windows cannot identify all the resources this device uses.Windows cannot identify all of the resources that the device uses.
17This device is asking for an unknown resource type.Device is requesting an unknown resource type.
18Reinstall the drivers for this device.Device drivers must be reinstalled.
19Failure using the VxD loader.
20Your registry might be corrupted.Registry might be corrupted.
21System failure: Try changing the driver for this device. If that does not work, see your hardware documentation. Windows is removing this device.System failure. If changing the device driver is ineffective, see the hardware documentation. Windows is removing the device.
22This device is disabled.Device is disabled.
23System failure: Try changing the driver for this device. If that doesn't work, see your hardware documentation.System failure. If changing the device driver is ineffective, see the hardware documentation.
24This device is not present, is not working properly, or does not have all its drivers installed.Device is not present, not working properly, or does not have all of its drivers installed.
25Windows is still setting up this device.Windows is still setting up the device.
26Windows is still setting up this device.Windows is still setting up the device.
27This device does not have valid log configuration.Device does not have valid log configuration.
28The drivers for this device are not installed.Device drivers are not installed.
29This device is disabled because the firmware of the device did not give it the required resources.Device is disabled. The device firmware did not provide the required resources.
30This device is using an Interrupt Request (IRQ) resource that another device is using.Device is using an IRQ resource that another device is using.
31This device is not working properly because Windows cannot load the drivers required for this device.Device is not working properly. Windows cannot load the required device drivers.
Code
# Value of ConfigManagerErrorCode for each instance
# Lookup table for ConfigManagerErrorCode (values documented by Microsoft)
$configManagerErrorCodeName = @{
    0 = 'This device is working properly'
    1 = 'This device is not configured correctly'
    2 = 'Windows cannot load the driver for this device'
    3 = 'The driver for this device might be corrupted, or your…'
    4 = 'This device is not working properly'
    5 = 'The driver for this device needs a resource that Windows…'
    6 = 'The boot configuration for this device conflicts with other…'
    7 = 'Cannot filter'
    8 = 'The driver loader for the device is missing'
    9 = 'This device is not working properly because the controlling…'
    10 = 'This device cannot start'
    11 = 'This device failed'
    12 = 'This device cannot find enough free resources that it can use'
    13 = 'Windows cannot verify this device''s resources'
    14 = 'This device cannot work properly until you restart your…'
    15 = 'This device is not working properly because there is…'
    16 = 'Windows cannot identify all the resources this device uses'
    17 = 'This device is asking for an unknown resource type'
    18 = 'Reinstall the drivers for this device'
    19 = 'Failure using the VxD loader'
    20 = 'Your registry might be corrupted'
    21 = 'System failure: Try changing the driver for this device'
    22 = 'This device is disabled'
    23 = 'System failure: Try changing the driver for this device'
    24 = 'This device is not present, is not working properly, or does…'
    25 = 'Windows is still setting up this device'
    26 = 'Windows is still setting up this device'
    27 = 'This device does not have valid log configuration'
    28 = 'The drivers for this device are not installed'
    29 = 'This device is disabled because the firmware of the device…'
    30 = 'This device is using an Interrupt Request (IRQ) resource…'
    31 = 'This device is not working properly because Windows cannot…'
}
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, ConfigManagerErrorCode |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'ConfigManagerErrorCode'; Expression = { $configManagerErrorCodeName[[int]$_.ConfigManagerErrorCode] } }
    )
ConfigManagerUserConfigbooleanread

If TRUE, the device is using a user-defined configuration.

Code
# Value of ConfigManagerUserConfig for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, ConfigManagerUserConfig |
    Select-Object -Property DeviceID, ConfigManagerUserConfig
CreationClassName keystringread

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, this property allows all instances of this class and its subclasses to be uniquely identified.

Code
# Value of CreationClassName for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, CreationClassName |
    Select-Object -Property DeviceID, CreationClassName
CurrentBitsPerPixeluint32read

Number of bits used to display each pixel.

Unit: bits

Code
# Value of CurrentBitsPerPixel for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, CurrentBitsPerPixel |
    Select-Object -Property DeviceID, CurrentBitsPerPixel
CurrentHorizontalResolutionuint32read

Current number of horizontal pixels.

Unit: pixels

Code
# Value of CurrentHorizontalResolution for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, CurrentHorizontalResolution |
    Select-Object -Property DeviceID, CurrentHorizontalResolution
CurrentNumberOfColorsuint64read

Number of colors supported at the current resolution.

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

Code
# Value of CurrentNumberOfColors for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, CurrentNumberOfColors |
    Select-Object -Property DeviceID, CurrentNumberOfColors
CurrentNumberOfColumnsuint32read

Number of columns for this video controller (if in character mode). Otherwise, enter 0 (zero).

Code
# Value of CurrentNumberOfColumns for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, CurrentNumberOfColumns |
    Select-Object -Property DeviceID, CurrentNumberOfColumns
CurrentNumberOfRowsuint32read

Number of rows for this video controller (if in character mode). Otherwise, enter 0 (zero).

Code
# Value of CurrentNumberOfRows for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, CurrentNumberOfRows |
    Select-Object -Property DeviceID, CurrentNumberOfRows
CurrentRefreshRateuint32read

Frequency at which the video controller refreshes the image for the monitor. A value of 0 (zero) indicates the default rate is being used, while 0xFFFFFFFF indicates the optimal rate is being used.

Unit: hertz

Code
# Value of CurrentRefreshRate for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, CurrentRefreshRate |
    Select-Object -Property DeviceID, CurrentRefreshRate
CurrentScanModeuint16read

Current scan mode.

Values (4)
ValueLabelDescription
1Other
2Unknown
3Interlaced
4Non InterlacedNoninterlaced
Code
# Value of CurrentScanMode for each instance
# Lookup table for CurrentScanMode (values documented by Microsoft)
$currentScanModeName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Interlaced'
    4 = 'Non Interlaced'
}
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, CurrentScanMode |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'CurrentScanMode'; Expression = { $currentScanModeName[[int]$_.CurrentScanMode] } }
    )
CurrentVerticalResolutionuint32read

Current number of vertical pixels.

Unit: pixels

Code
# Value of CurrentVerticalResolution for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, CurrentVerticalResolution |
    Select-Object -Property DeviceID, CurrentVerticalResolution
Descriptionstringread

Description of the object.

Code
# Value of Description for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, Description |
    Select-Object -Property DeviceID, Description
DeviceID keystringread

Identifier (unique to the computer system) for this video controller.

Code
# Value of DeviceID for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID |
    Select-Object -Property DeviceID
DeviceSpecificPensuint32read

Current number of device-specific pens. A value of 0xffff means that the device does not support pens.

Example: 3

Code
# Value of DeviceSpecificPens for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, DeviceSpecificPens |
    Select-Object -Property DeviceID, DeviceSpecificPens
DitherTypeuint32read

Dither type of the video controller. The property can be one of the predefined values, or a driver-defined value greater than or equal to 256. If line art dithering is chosen, the controller uses a dithering method that produces well-defined borders between black, white, and gray scalings. Line art dithering is not suitable for images that include continuous graduations in intensity and hue such as scanned photographs.

Values (5)
ValueLabelDescription
1No dithering
2Dithering with a coarse brush
3Dithering with a fine brush
4Line art dithering
5Device does gray scaling
Code
# Value of DitherType for each instance
# Lookup table for DitherType (values documented by Microsoft)
$ditherTypeName = @{
    1 = 'No dithering'
    2 = 'Dithering with a coarse brush'
    3 = 'Dithering with a fine brush'
    4 = 'Line art dithering'
    5 = 'Device does gray scaling'
}
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, DitherType |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'DitherType'; Expression = { $ditherTypeName[[int]$_.DitherType] } }
    )
DriverDatedatetimeread

Last modification date and time of the currently installed video driver.

Code
# Value of DriverDate for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, DriverDate |
    Select-Object -Property DeviceID, DriverDate
DriverVersionstringread

Version number of the video driver.

Code
# Value of DriverVersion for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, DriverVersion |
    Select-Object -Property DeviceID, DriverVersion
ErrorClearedbooleanread

If TRUE, the error reported in LastErrorCode property is now cleared.

Code
# Value of ErrorCleared for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, ErrorCleared |
    Select-Object -Property DeviceID, ErrorCleared
ErrorDescriptionstringread

Free-form string supplying more information about the error recorded in LastErrorCode property, and information on any corrective actions that may be taken.

Code
# Value of ErrorDescription for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, ErrorDescription |
    Select-Object -Property DeviceID, ErrorDescription
ICMIntentuint32read

Specific value of one of the three possible color-matching methods or intents that should be used by default. This property is used primarily for non-ICM applications. ICM applications establish intents by using the ICM functions. This property can be a predefined value or a driver defined value greater than or equal to 256. Color matching based on saturation is the most appropriate choice for business graphs when dithering is not desired. Color matching based on contrast is the most appropriate choice for scanned or photographic images when dithering is desired. Color matching optimized to match the exact color requested is most appropriate for use with business logos or other images when an exact color match is desired.

Values (3)
ValueLabelDescription
1Saturation
2Contrast
3Exact Color
Code
# Value of ICMIntent for each instance
# Lookup table for ICMIntent (values documented by Microsoft)
$iCMIntentName = @{
    1 = 'Saturation'
    2 = 'Contrast'
    3 = 'Exact Color'
}
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, ICMIntent |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'ICMIntent'; Expression = { $iCMIntentName[[int]$_.ICMIntent] } }
    )
ICMMethoduint32read

Method of handling ICM. For non-ICM applications, this property determines if ICM is enabled. For ICM applications, the system examines this property to determine how to handle ICM support. This property can be a predefined value or a driver-defined value greater than or equal to 256. The value determines which system handles image color matching.

Values (4)
ValueLabelDescription
1Disabled
2Windows
3Device Driver
4Destination Device
Code
# Value of ICMMethod for each instance
# Lookup table for ICMMethod (values documented by Microsoft)
$iCMMethodName = @{
    1 = 'Disabled'
    2 = 'Windows'
    3 = 'Device Driver'
    4 = 'Destination Device'
}
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, ICMMethod |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'ICMMethod'; Expression = { $iCMMethodName[[int]$_.ICMMethod] } }
    )
InfFilenamestringread

Path to the video adapter's .inf file.

Example: "C:\Windows\SYSTEM32\DRIVERS"

Code
# Value of InfFilename for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, InfFilename |
    Select-Object -Property DeviceID, InfFilename
InfSectionstringread

Section of the .inf file where the Windows video information resides.

Code
# Value of InfSection for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, InfSection |
    Select-Object -Property DeviceID, InfSection
InstallDatedatetimeread

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

Code
# Value of InstallDate for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, InstallDate |
    Select-Object -Property DeviceID, InstallDate
InstalledDisplayDriversstringread

Name of the installed display device driver.

Code
# Value of InstalledDisplayDrivers for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, InstalledDisplayDrivers |
    Select-Object -Property DeviceID, InstalledDisplayDrivers
LastErrorCodeuint32read

Last error code reported by the logical device.

Code
# Value of LastErrorCode for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, LastErrorCode |
    Select-Object -Property DeviceID, LastErrorCode
MaxMemorySupporteduint32read

Maximum amount of memory supported in bytes.

Unit: bytes

Code
# Value of MaxMemorySupported for each instance
# MaxMemorySupported is expressed in bytes: converted to GB
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, MaxMemorySupported |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'MaxMemorySupportedGB'; Expression = { [math]::Round($_.MaxMemorySupported / 1GB, 2) } }
    )
MaxNumberControlleduint32read

Maximum number of directly addressable entities supportable by this controller. A value of 0 (zero) should be used if the number is unknown.

Code
# Value of MaxNumberControlled for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, MaxNumberControlled |
    Select-Object -Property DeviceID, MaxNumberControlled
MaxRefreshRateuint32read

Maximum refresh rate of the video controller in hertz.

Unit: hertz

Code
# Value of MaxRefreshRate for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, MaxRefreshRate |
    Select-Object -Property DeviceID, MaxRefreshRate
MinRefreshRateuint32read

Minimum refresh rate of the video controller in hertz.

Unit: hertz

Code
# Value of MinRefreshRate for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, MinRefreshRate |
    Select-Object -Property DeviceID, MinRefreshRate
Monochromebooleanread

If TRUE, gray scale is used to display images.

Code
# Value of Monochrome for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, Monochrome |
    Select-Object -Property DeviceID, Monochrome
Namestringread

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

Code
# Value of Name for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, Name |
    Select-Object -Property DeviceID, Name
NumberOfColorPlanesuint16read

Current number of color planes. If this value is not applicable for the current video configuration, enter 0 (zero).

Code
# Value of NumberOfColorPlanes for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, NumberOfColorPlanes |
    Select-Object -Property DeviceID, NumberOfColorPlanes
NumberOfVideoPagesuint32read

Number of video pages supported given the current resolutions and available memory.

Code
# Value of NumberOfVideoPages for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, NumberOfVideoPages |
    Select-Object -Property DeviceID, NumberOfVideoPages
PNPDeviceIDstringread

Windows Plug and Play device identifier of the logical device.

Example: "*PNP030b"

Code
# Value of PNPDeviceID for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, PNPDeviceID |
    Select-Object -Property DeviceID, PNPDeviceID
PowerManagementCapabilitiesuint16[]read

Array of the specific power-related capabilities of a logical device.

Values (8)
ValueLabelDescription
0Unknown
1Not Supported
2Disabled
3EnabledThe power management features are currently enabled but the exact feature set is unknown or the information is unavailable.
4Power Saving Modes Entered AutomaticallyThe device can change its power state based on usage or other criteria.
5Power State SettableThe SetPowerState method is supported. This method is found on the parent CIM_LogicalDevice class and can be implemented. For more information, see Designing Managed Object Format (MOF) Classes.
6Power Cycling SupportedThe SetPowerState method can be invoked with the *PowerState* parameter set to 5 (Power Cycle).
7Timed Power On SupportedTimed Power-On Supported The SetPowerState method can be invoked with the *PowerState* parameter set to 5 (Power Cycle) and *Time* set to a specific date and time, or interval, for power-on.
Code
# Value of PowerManagementCapabilities for each instance
# Lookup table for PowerManagementCapabilities (values documented by Microsoft)
$powerManagementCapabilitiesName = @{
    0 = 'Unknown'
    1 = 'Not Supported'
    2 = 'Disabled'
    3 = 'Enabled'
    4 = 'Power Saving Modes Entered Automatically'
    5 = 'Power State Settable'
    6 = 'Power Cycling Supported'
    7 = 'Timed Power On Supported'
}
# PowerManagementCapabilities is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_VideoController -Property PowerManagementCapabilities |
    Select-Object -ExpandProperty PowerManagementCapabilities |
    ForEach-Object -Process { $powerManagementCapabilitiesName[[int]$_] }
PowerManagementSupportedbooleanread

If TRUE, the device can be power-managed (can be put into suspend mode, and so on). The property does not indicate that power management features are currently enabled, only that the logical device is capable of power management.

Code
# Value of PowerManagementSupported for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, PowerManagementSupported |
    Select-Object -Property DeviceID, PowerManagementSupported
ProtocolSupporteduint16read

Protocol used by the controller to access "controlled" devices.

Values (47)
ValueLabelDescription
1Other
2Unknown
3EISA
4ISA
5PCI
6ATA/ATAPIATA or ATAPI
7Flexible Diskette
81496
9SCSI Parallel Interface
10SCSI Fibre Channel Protocol
11SCSI Serial Bus Protocol
12SCSI Serial Bus Protocol-2 (1394)
13SCSI Serial Storage Architecture
14VESA
15PCMCIA
16Universal Serial Bus
17Parallel Protocol
18ESCON
19Diagnostic
20I2C
21Power
22HIPPI
23MultiBus
24VME
25IPI
26IEEE-488
27RS232
28IEEE 802.3 10BASE5
29IEEE 802.3 10BASE2
30IEEE 802.3 1BASE5
31IEEE 802.3 10BROAD36
32IEEE 802.3 100BASEVG
33IEEE 802.5 Token-Ring
34ANSI X3T9.5 FDDI
35MCA
36ESDI
37IDE
38CMD
39ST506
40DSSI
41QIC2
42Enhanced ATA/IDE
43AGP
44TWIRP (two-way infrared)
45FIR (fast infrared)
46SIR (serial infrared)
47IrBus
Code
# Value of ProtocolSupported for each instance
# Lookup table for ProtocolSupported (values documented by Microsoft)
$protocolSupportedName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'EISA'
    4 = 'ISA'
    5 = 'PCI'
    6 = 'ATA/ATAPI'
    7 = 'Flexible Diskette'
    8 = '1496'
    9 = 'SCSI Parallel Interface'
    10 = 'SCSI Fibre Channel Protocol'
    11 = 'SCSI Serial Bus Protocol'
    12 = 'SCSI Serial Bus Protocol-2 (1394)'
    13 = 'SCSI Serial Storage Architecture'
    14 = 'VESA'
    15 = 'PCMCIA'
    16 = 'Universal Serial Bus'
    17 = 'Parallel Protocol'
    18 = 'ESCON'
    19 = 'Diagnostic'
    20 = 'I2C'
    21 = 'Power'
    22 = 'HIPPI'
    23 = 'MultiBus'
    24 = 'VME'
    25 = 'IPI'
    26 = 'IEEE-488'
    27 = 'RS232'
    28 = 'IEEE 802.3 10BASE5'
    29 = 'IEEE 802.3 10BASE2'
    30 = 'IEEE 802.3 1BASE5'
    31 = 'IEEE 802.3 10BROAD36'
    32 = 'IEEE 802.3 100BASEVG'
    33 = 'IEEE 802.5 Token-Ring'
    34 = 'ANSI X3T9.5 FDDI'
    35 = 'MCA'
    36 = 'ESDI'
    37 = 'IDE'
    38 = 'CMD'
    39 = 'ST506'
    40 = 'DSSI'
    41 = 'QIC2'
    42 = 'Enhanced ATA/IDE'
    43 = 'AGP'
    44 = 'TWIRP (two-way infrared)'
    45 = 'FIR (fast infrared)'
    46 = 'SIR (serial infrared)'
    47 = 'IrBus'
}
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, ProtocolSupported |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'ProtocolSupported'; Expression = { $protocolSupportedName[[int]$_.ProtocolSupported] } }
    )
ReservedSystemPaletteEntriesuint32read

Number of reserved entries in the system palette. The operating system may reserve entries to support standard colors for task bars and other desktop display items. This index is valid only if the device driver sets the RC_PALETTE bit in the RASTERCAPS index, and is available only if the driver is compatible with 16-bit Windows. If the system is not using a palette, ReservedSystemPaletteEntries is not set.

Example: 20

Code
# Value of ReservedSystemPaletteEntries for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, ReservedSystemPaletteEntries |
    Select-Object -Property DeviceID, ReservedSystemPaletteEntries
SpecificationVersionuint32read

Version number of the initialization data specification (upon which the structure is based).

Code
# Value of SpecificationVersion for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, SpecificationVersion |
    Select-Object -Property DeviceID, SpecificationVersion
Statusstringread

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.

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
# Value of Status for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, Status |
    Select-Object -Property DeviceID, Status
StatusInfouint16read

State of the logical device. If this property does not apply to the logical device, the value 5 (Not Applicable) should be used.

Values (5)
ValueLabelDescription
1Other
2Unknown
3Enabled
4Disabled
5Not Applicable
Code
# Value of StatusInfo for each instance
# Lookup table for StatusInfo (values documented by Microsoft)
$statusInfoName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Enabled'
    4 = 'Disabled'
    5 = 'Not Applicable'
}
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, StatusInfo |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'StatusInfo'; Expression = { $statusInfoName[[int]$_.StatusInfo] } }
    )
SystemCreationClassName keystringread

Value of the scoping computer's CreationClassName property.

Code
# Value of SystemCreationClassName for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, SystemCreationClassName |
    Select-Object -Property DeviceID, SystemCreationClassName
SystemName keystringread

Name of the scoping system.

Code
# Value of SystemName for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, SystemName |
    Select-Object -Property DeviceID, SystemName
SystemPaletteEntriesuint32read

Current number of color index entries in the system palette. This index is valid only if the device driver sets the RC_PALETTE bit in the RASTERCAPS index, and is available only if the driver is compatible with 16-bit Windows. If the system is not using a palette, SystemPaletteEntries is not set.

Example: 20

Code
# Value of SystemPaletteEntries for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, SystemPaletteEntries |
    Select-Object -Property DeviceID, SystemPaletteEntries
TimeOfLastResetdatetimeread

Date and time this controller was last reset. This could mean the controller was powered down or reinitialized.

Code
# Value of TimeOfLastReset for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, TimeOfLastReset |
    Select-Object -Property DeviceID, TimeOfLastReset
VideoArchitectureuint16read

Type of video architecture.

Values (13)
ValueLabelDescription
1Other
2Unknown
3CGA
4EGA
5VGA
6SVGA
7MDA
8HGC
9MCGA
108514A
11XGA
12Linear Frame Buffer
160PC-98
Code
# Value of VideoArchitecture for each instance
# Lookup table for VideoArchitecture (values documented by Microsoft)
$videoArchitectureName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'CGA'
    4 = 'EGA'
    5 = 'VGA'
    6 = 'SVGA'
    7 = 'MDA'
    8 = 'HGC'
    9 = 'MCGA'
    10 = '8514A'
    11 = 'XGA'
    12 = 'Linear Frame Buffer'
    160 = 'PC-98'
}
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, VideoArchitecture |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'VideoArchitecture'; Expression = { $videoArchitectureName[[int]$_.VideoArchitecture] } }
    )
VideoMemoryTypeuint16read

Type of video memory.

Values (13)
ValueLabelDescription
1Other
2Unknown
3VRAM
4DRAM
5SRAM
6WRAM
7EDO RAM
8Burst Synchronous DRAM
9Pipelined Burst SRAM
10CDRAM
113DRAM
12SDRAM
13SGRAM
Code
# Value of VideoMemoryType for each instance
# Lookup table for VideoMemoryType (values documented by Microsoft)
$videoMemoryTypeName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'VRAM'
    4 = 'DRAM'
    5 = 'SRAM'
    6 = 'WRAM'
    7 = 'EDO RAM'
    8 = 'Burst Synchronous DRAM'
    9 = 'Pipelined Burst SRAM'
    10 = 'CDRAM'
    11 = '3DRAM'
    12 = 'SDRAM'
    13 = 'SGRAM'
}
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, VideoMemoryType |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'VideoMemoryType'; Expression = { $videoMemoryTypeName[[int]$_.VideoMemoryType] } }
    )
VideoModeuint16read

Current video mode.

Code
# Value of VideoMode for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, VideoMode |
    Select-Object -Property DeviceID, VideoMode
VideoModeDescriptionstringread

Current resolution, color, and scan mode settings of the video controller.

Example: "1024 x 768 x 256 colors"

Code
# Value of VideoModeDescription for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, VideoModeDescription |
    Select-Object -Property DeviceID, VideoModeDescription
VideoProcessorstringread

Free-form string describing the video processor.

Code
# Value of VideoProcessor for each instance
Get-CimInstance -ClassName Win32_VideoController -Property DeviceID, VideoProcessor |
    Select-Object -Property DeviceID, VideoProcessor

Remarks

The Win32_VideoController class is derived from CIM_PCVideoController.

For more information about using this class, such as retrieving information from multiple monitors, see Use PowerShell to Discover Multi-Monitor Information.

Inheritance

Superclass chain

  1. CIM_ManagedSystemElement
  2. CIM_LogicalElement
  3. CIM_LogicalDevice
  4. CIM_Controller
  5. CIM_VideoController
  6. CIM_PCVideoController
  7. Win32_VideoController

Known subclasses

No known subclass.

Requirements

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

Dynamic Provider("CIMWin32") UUID("{1008CCF1-7BFF-11D2-AAD2-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.