Public/Functions/split/Get-DisplayAllScreens.ps1
1 2 3 4 5 6 7 8 |
function Get-DisplayAllScreens { [CmdletBinding()] param () Add-Type -Assembly System.Windows.Forms Return ([System.Windows.Forms.Screen]::AllScreens | Select-Object * | Sort-Object DeviceName) } |