How can I script a screen resolution change, for example to 1024*768?
|
feedback
|
|
There isn't a native powershell way to set the resolution. You could write in-line C# code in a powershell script to do it. Otherwise you would need to find a third party commandline application that does it and just call that from your script. | |||||
|
feedback
|
|
As EBGreen has said, Powershell cannot do it in its vanilla state. However being a .NET-based shell, you could either use .NET within a powershell script, use a traditional CLI application or write a Cmdlet to do it. These links may help you out if you decide to explore those paths further: | |||
|
feedback
|
|
See the freeware QRes :
For the case of multiple monitors, you can see Display Changer (free for personal and educational use):
| ||||
|
feedback
|
|
You can't do this using a native Windows command, but you can use an application invoked from the command line like http://www.pcdownloadworld.com/prgdb/reschange.htm . I've used it before - it is a little cumbersome but does what it says on the tin. | |||
|
feedback
|