5 lines
170 B
PowerShell
5 lines
170 B
PowerShell
# Gets the Screen resolution of a PC
|
|
|
|
$screenResolution = hostname; Get-WmiObject -Class Win32_DesktopMonitor | Select-Object ScreenWidth,ScreenHeight
|
|
$screenResolution
|