⚡ PowerShell 5.1+
Get Video Controllers Report
Queries Win32_VideoController via WMI and reports Video Controllers in a formatted table, with an optional CSV export.
Get-VideoControllerReport.ps1
<#
.SYNOPSIS
Reports Video Controllers on this computer via WMI (Win32_VideoController).
.DESCRIPTION
Queries Win32_VideoController and displays Name, AdapterRAM, DriverVersion, CurrentRefreshRate for each item found.
Use -ExportPath to also save the results to a CSV file.
.PARAMETER ExportPath
Optional path to a .csv file to write the results to.
.EXAMPLE
.\Get-VideoControllerReport.ps1
.EXAMPLE
.\Get-VideoControllerReport.ps1 -ExportPath C:\Reports\videocontroller.csv
#>
[CmdletBinding()]
param(
[string]$ExportPath
)
$items = Get-CimInstance -ClassName Win32_VideoController | Select-Object Name, AdapterRAM, DriverVersion, CurrentRefreshRate
if (-not $items) {
Write-Host "No Video Controllers found." -ForegroundColor Yellow
return
}
$items | Format-Table -AutoSize
if ($ExportPath) {
$items | Export-Csv -Path $ExportPath -NoTypeInformation -Encoding UTF8
Write-Host "`nExported to $ExportPath" -ForegroundColor Cyan
}