PowerShell Quick Tip: Change screen resolution from the command line
I had a VM that I can't open Display Settings, so had to figure out how to change the screen resolution from the command line. This can also be handy if you have several machines that for some reason has to be running at specified resolution, for example, running UI automated tests.PS C:\>Set-DisplayResolution -Width 1600 -Height 900
Tags:PowerShell, command line, screen resolution
Comments