Finding Out Video Resolution

Share |

Subscribe to Feed

PowerShell eBook
Sign up for
Your PowerTip of the Day:

Powershell Plus

13 Free SQL Tools from Idera

Free Ebook: Mastering Powershell


You can use this function if you would like to check the current video resolution on a local or remote system:

function Get-Resolution {
$ComputerName = '.'

process {
Get-WmiObject -Class Win32_VideoController -ComputerName $Computername |
Select-Object *resolution*, __SERVER

When you run Get-Resolution, you will retrieve your own video resolution. By adding a computer name, you will find the same information is returned from a remote system (provided you have sufficient privileges to access the remote system).

Twitter This Tip! ReTweet this Tip!

Posted Feb 25 2011, 08:00 AM by ps1
Copyright 2012 All rights reserved.