CmdID / PowerShell / Cmdlets / Set
Set-DisplayResolution
Changes the display resolution for a Server Core server. Windows Server PowerShell reference
From the Windows Server PowerShell reference 3 parameters Its page in the reference
Parameters
-ForceForces the command to run without asking for user confirmation.-HeightSpecifies a height, in pixels, for the display.-WidthSpecifies a width, in pixels, for the display.