Windows – How to set display resolution via PowerShell on Win10 Pro

powershellresolutionwindows-10-pro

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.