Get-DisplayResolution

Shows the current display resolution for a Server Core server.

Syntax

Get-DisplayResolution []

Description

The Get-DisplayResolution cmdlet shows the display resolution for Windows ServerĀ® 2012 in Server Core mode. For a width of 1920 pixels and a height of 1080 pixels, the cmdlet displays 1920x1080. You can use the Set-DisplayResolution cmdlet to change the resolution.

For more information about Server Core mode, see Configure and Manage Server Core Installations.

Examples

Example 1: Get display resolution

PS C:\> Get-DisplayResolution
1920x1080

This command gets the current display resolution, which is a width of 1920 and a height of 1080.