LANCommander/LANCommander/Snippets/Functions/Get-PrimaryDisplay.ps1

2 lines
No EOL
94 B
PowerShell

# Bounds are accessible by $Display.Width and $Display.Height
$Display = Get-PrimaryDisplay