For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-DisplayPrimaryBitmapSize

Returns the primary display bitmap size accounting for DPI scaling

Property
Value

Module

OSD

Platform

WinPE (amd64 / arm64)

Description

Calculates the primary display monitor size in pixels, adjusted for the current DPI scaling percentage.

Syntax

Get-DisplayPrimaryBitmapSize [-ProgressAction <ActionPreference>] [<CommonParameters>]

Parameters

This function does not define function-specific parameters beyond common parameters.

Examples

Example

Get-DisplayPrimaryBitmapSize
Returns the scaled primary display dimensions

Last updated

Was this helpful?