I was asked by a client's IT admin to "write a powershell script that sets the resolution manually on bootup". Presumably it is possible if they're asking me to do this. I have absolutely no experience with powershell. My scripts/commands and their errors are as follows:
Set-DisplayResolution -Width 1024 -Height 768
Set-DisplayResolution
is not recognized as the name of a cmdlet, function, script file, or operable program.
Set-ScreenResolution -Width 1024 -Height 768
Set-ScreenResolution
is not recognized as the name of a cmdlet, function, script file, or operable program.
SetDisplayResolution -Width 1024 -Height 768
SetDisplayResolution
is not recognized as the name of a cmdlet, function, script file, or operable program.
What am I missing? Thank you.
Set-DisplayResolution
is a commandlet from the ServerCore PowerShell module and seems not to be available on Windows 10.Set-DisplayResolution -Width 1024 -Height 768
on Windows Server 2019 worked out of the box.