Sunday, October 09, 2022

Get display resolution from the command line

Get display resolution from the command line

This will get both local resolution and remote desktop screen resolution using WMIC.
c:\>wmic path Win32_VideoController get VideoModeDescription

Sample out below when run on remote desktop session

VideoModeDescription
1024 x 768 x 4294967296 colors
1912 x 989 x 4294967296 colors
Tags: WMIC screen resolution

No comments:

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04 I am planning to run qemu-system-ppc to play around QEMU ...