MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
March
Sun Mon Tue Wed Thu Fri Sat
         
15
           
2024
Months
Mar
Nov Dec


Fri, Mar 15, 2024 10:43 pm

Getting the video resolution on a Windows system

If you need to determine the horizontal and vertical video resolution of the system you are working on from a command-line interface (CLI) on a Microsoft Windows systeem, you can open a PowerShell window (you can type PowerShell in the Windows "search" field and click on PowerShell when you see it in the returned results) and issue the Windows Management Instrumentation Command-line (WMIC) command Get-WmiObject win32_videocontroller | select caption, CurrentHorizontalResolution, CurrentVerticalResolution.

PS C:\> Get-WmiObject win32_videocontroller | select caption, CurrentHorizontalResolution, CurrentVerticalResolution

caption             CurrentHorizontalResolution CurrentVerticalResolution
-------             --------------------------- -------------------------
NVIDIA Quadro K2000                        2560                      1440


PS C:\>

If you need to determine the resolution on another system in the same Windows domain on the local area network (LAN), you can add -ComputerName followed by the name of the computer to the command as shown below.

PS C:\> Get-WmiObject -ComputerName apollo win32_videocontroller | select caption, CurrentHorizontalResolution, CurrentVerticalResolution

caption                         CurrentHorizontalResolution CurrentVerticalResolution
-------                         --------------------------- -------------------------
Microsoft Basic Display Adapter                        1024                       768


PS C:\>

[ More Info ]

[/os/windows/commands/wmic] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo