Get-DisplayResolution
Get-DisplayResolution
Shows the current display resolution for a Server Core server.
Syntax
Get-DisplayResolution [ <CommonParameters>]
Detailed 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 (https://technet.microsoft.com/en-us/library/jj574091).
Parameters
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Get display resolution
This command gets the current display resolution, which is a width of 1920 and a height of 1080.
PS C:\> Get-DisplayResolution