Win32_VideoConfiguration

Win32 Video Configuration
root/cimv2deprecatedkey : AdapterCompatibilitykey : Name

The Win32_VideoConfiguration class is not active. It will not return any instances as there is no provider backing it.

On this page

Main example

List instances

# All instances of Win32_VideoConfiguration, with the main properties
Get-CimInstance -ClassName Win32_VideoConfiguration |
    Select-Object -Property AdapterCompatibility, Name, Description, ActualColorResolution

Examples

Filter with WQL

# WQL filter evaluated by the provider: names starting with "a" (the WQL wildcard is %)
Get-CimInstance -ClassName Win32_VideoConfiguration -Filter "Caption LIKE 'a%'" |
    Select-Object -Property AdapterCompatibility, Name, Description, ActualColorResolution

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

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_VideoConfiguration |
        Select-Object -Property @(
            'AdapterCompatibility'
            'Name'
            'Description'
            'ActualColorResolution'
        )
} 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_VideoConfiguration
$cimClass.CimClassProperties |
    Select-Object -Property Name, CimType, Flags

Properties

30 of 30 properties
NameTypeAccessDescription
ActualColorResolutionuint32read

Indicates the current color depth of the video display.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Unit: bits per pixel

Code
# Value of ActualColorResolution for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, ActualColorResolution |
    Select-Object -Property AdapterCompatibility, Name, ActualColorResolution
AdapterChipTypestringread

Contains the name of the adapter chip.

Example: s3

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of AdapterChipType for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, AdapterChipType |
    Select-Object -Property AdapterCompatibility, Name, AdapterChipType
AdapterCompatibility keystringread

Specifies the name of the manufacturer of the adapter. This name can be used to compare the compatibility of this device with the needs of the computer system.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

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

Indicates the name of the digital-to-analog chip (DAC) used in the adapter.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of AdapterDACType for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, AdapterDACType |
    Select-Object -Property AdapterCompatibility, Name, AdapterDACType
AdapterDescriptionstringread

Contains a description or descriptive name of the video adapter.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of AdapterDescription for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, AdapterDescription |
    Select-Object -Property AdapterCompatibility, Name, AdapterDescription
AdapterRAMuint32read

Indicates the memory size of the video adapter.

Example: 16777216

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Unit: bytes

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

Indicates the type of video adapter.

Character Set: Alphanumeric

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of AdapterType for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, AdapterType |
    Select-Object -Property AdapterCompatibility, Name, AdapterType
BitsPerPixeluint32read

Indicates the actual number of bits per pixel representing the display. This may be scaled to the current video setting (represented by the ActualColorResolution property) of the user.

Example: 8

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of BitsPerPixel for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, BitsPerPixel |
    Select-Object -Property AdapterCompatibility, Name, BitsPerPixel
Captionstringread

Short textual description of the current object.

Code
# Value of Caption for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, Caption |
    Select-Object -Property AdapterCompatibility, Name, Caption
ColorPlanesuint32read

Indicates the current number of color planes used in the video display. A color plane is another way to represent pixel colors; instead of assigning a single RGB value to each a pixel, color planes separate the graphic into each of the primary color components (red green blue), and store them in their own planes. This allows for greater color depths on 8 and 16 bit video systems. Present graphics systems have the bitwidth large enough to store color depth information, making only one color plane necessary.

Example: 1

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of ColorPlanes for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, ColorPlanes |
    Select-Object -Property AdapterCompatibility, Name, ColorPlanes
ColorTableEntriesuint32read

Indicates the number of color indexes in a color table for a video display. This property is used if the device has a color depth of no more than 8 bits per pixel. For devices with greater color depths, -1 is returned.

Example: 256

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of ColorTableEntries for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, ColorTableEntries |
    Select-Object -Property AdapterCompatibility, Name, ColorTableEntries
Descriptionstringread

Textual description of the current object.

Code
# Value of Description for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, Description |
    Select-Object -Property AdapterCompatibility, Name, Description
DeviceSpecificPensuint32read

Indicates the current number of device-specific pens. A value of 0xFFFFFFFF means the device does not support pens. Pens are used to draw lines and theborders of polygonal objects.

Example: 3

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of DeviceSpecificPens for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, DeviceSpecificPens |
    Select-Object -Property AdapterCompatibility, Name, DeviceSpecificPens
DriverDatedatetimeread

Indicates the date and time the current video driver was installed.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

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

Indicates the current number of pixels in the horizontal direction (X axis) of the display.

Example: 1024

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of HorizontalResolution for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, HorizontalResolution |
    Select-Object -Property AdapterCompatibility, Name, HorizontalResolution
InfFilenamestringread

Specifies the path to the .inf file of the video driver.

Example: C:\Windows\System32\Drivers

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of InfFilename for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, InfFilename |
    Select-Object -Property AdapterCompatibility, Name, InfFilename
InfSectionstringread

Indicates the section of the .inf file where the Win32 video information resides.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of InfSection for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, InfSection |
    Select-Object -Property AdapterCompatibility, Name, InfSection
InstalledDisplayDriversstringread

Indicates the name of the installed video driver.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of InstalledDisplayDrivers for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, InstalledDisplayDrivers |
    Select-Object -Property AdapterCompatibility, Name, InstalledDisplayDrivers
MonitorManufacturerstringread

Indicates the name of the manufacturer of the display device.

Example: NEC

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of MonitorManufacturer for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, MonitorManufacturer |
    Select-Object -Property AdapterCompatibility, Name, MonitorManufacturer
MonitorTypestringread

Indicates the model name of the display device.

Example: NEC 5FGp

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of MonitorType for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, MonitorType |
    Select-Object -Property AdapterCompatibility, Name, MonitorType
Name keystringread

Contains an identifying name for the video configuration class.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of Name for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name |
    Select-Object -Property AdapterCompatibility, Name
PixelsPerXLogicalInchuint32read

Indicates the number of pixels per logical inch along the X axis (horizontal direction) of the display.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of PixelsPerXLogicalInch for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, PixelsPerXLogicalInch |
    Select-Object -Property AdapterCompatibility, Name, PixelsPerXLogicalInch
PixelsPerYLogicalInchuint32read

Indicates the number of pixels per logical inch along the Y axis (vertical direction) of the display.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of PixelsPerYLogicalInch for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, PixelsPerYLogicalInch |
    Select-Object -Property AdapterCompatibility, Name, PixelsPerYLogicalInch
RefreshRateuint32read

Indicates the refresh rate of the video configuration. A value of 0 or 1 indicates a default rate is being used.

Example: 72

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of RefreshRate for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, RefreshRate |
    Select-Object -Property AdapterCompatibility, Name, RefreshRate
ScanModestringread

Indicates whether the display device is interlaced.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Values (2)
ValueLabelDescription
Non InterlacedNon Interlaced
InterlacedInterlaced
Code
# Value of ScanMode for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, ScanMode |
    Select-Object -Property AdapterCompatibility, Name, ScanMode
ScreenHeightuint32read

Specifies the height of the physical screen.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Unit: millimeters

Code
# Value of ScreenHeight for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, ScreenHeight |
    Select-Object -Property AdapterCompatibility, Name, ScreenHeight
ScreenWidthuint32read

Specifies the width of the physical screen.

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Unit: millimeters

Code
# Value of ScreenWidth for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, ScreenWidth |
    Select-Object -Property AdapterCompatibility, Name, ScreenWidth
SettingIDstringread

Identifier by which the current object is known.

Code
# Value of SettingID for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, SettingID |
    Select-Object -Property AdapterCompatibility, Name, SettingID
SystemPaletteEntriesuint32read

Iindicates the current number of color index entries reserved for system use. This value is only valid for display settings that use an indexed palette . Indexed palettes are not used for color depths greater than 8 bits per pixel. If the color depth is more than 8 bits per pixel, this value is set to NULL.

Example: 20

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of SystemPaletteEntries for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, SystemPaletteEntries |
    Select-Object -Property AdapterCompatibility, Name, SystemPaletteEntries
VerticalResolutionuint32read

Indicates the current number of pixels in the vertical direction (Y axis) of the display.

Example: 768

This property has been deprecated in favor of a corresponding property(s) contained in the Win32_VideoController, Win32_DesktopMonitor and//or CIM_VideoControllerResolution.

Code
# Value of VerticalResolution for each instance
Get-CimInstance -ClassName Win32_VideoConfiguration -Property AdapterCompatibility, Name, VerticalResolution |
    Select-Object -Property AdapterCompatibility, Name, VerticalResolution

Inheritance

Superclass chain

  1. CIM_Setting
  2. Win32_VideoConfiguration

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

DEPRECATED UUID("{8502C4ED-5FBB-11D2-AAC1-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.