Get-DisplayPrimaryMonitorSize
Returns the primary display monitor size in pixels
Property
Value
Module
OSD
Platform
WinPE (amd64 / arm64)
Description
Returns the width and height of the primary monitor display in pixels using Windows Forms assembly.
Syntax
Get-DisplayPrimaryMonitorSize [-ProgressAction <ActionPreference>] [<CommonParameters>]Parameters
This function does not define function-specific parameters beyond common parameters.
Examples
Example
Get-DisplayPrimaryMonitorSize
Returns primary monitor width and heightRelated
Last updated
Was this helpful?

