LANCommander/LANCommander/Snippets/Variables/Display.ps1
2023-01-26 20:42:33 -06:00

2 lines
No EOL
160 B
PowerShell

# Accessible via $Display.ScreenWidth and $Display.ScreenHeight
$Display = Get-WmiObject -Class Win32_DesktopMonitor | Select-Object ScreenWidth,ScreenHeight