Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Hi,
Is there a way to set the screen resolution using the PowerShell cmdlts?

thanks,
Praveen.
Posted
Comments
Sergey Alexandrovich Kryukov 30-Apr-13 20:29pm    
Why? If your script does that, most users will consider this highly intrusive. Never do it. It should be done by the user and only by the user. Your application should be able to live with that.
—SA
priypavan 30-Apr-13 20:37pm    
I am tagged to one of the high resolution devices(100 no.s) in my assignment, I need to validate my application on that device, the text and images are too small on that device but not on the other hardware which I got for application validation. I re-image these(100) machines at least 5 times in day and set the resolution settings manually which takes lot of time, so I decided to automate this resolution settings to reduce my efforts hence I need to some PowerShell cmdlt to automate it as part of re-imaging the device.
Sergey Alexandrovich Kryukov 1-May-13 0:14am    
Wrong approach. You really need to work with the resolution provide by the system. There are a number of ways to image big number of machines automatically: cloning, unattended installation, custom system distribution, etc. You did not really explain do you re-image a lot, even if it is really needed...
—SA
[no name] 30-Apr-13 21:24pm    
http://kindleit.blogspot.com/2012/09/changing-screen-resolution-with.html
Sergey Alexandrovich Kryukov 1-May-13 0:22am    
Maybe you should post it as the answer. Would be good too try; I don't feel interested enough to try. This is just P/Invoke of Windows API...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900