Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: PowerShell
Hi,
Is there a way to set the screen resolution using the PowerShell cmdlts?
 
thanks,
Praveen.
Posted 30-Apr-13 15:11pm
Comments
Sergey Alexandrovich Kryukov at 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 at 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 at 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
ThePhantomUpvoter at 30-Apr-13 21:24pm
   
http://kindleit.blogspot.com/2012/09/changing-screen-resolution-with.html
Sergey Alexandrovich Kryukov at 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
priypavan at 1-May-13 16:22pm
   
thanks you, I already gave a try to this, it works as expected but still I am looking for simple PowerShell cmd which would be more convenient to integrate in to my process.

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

  Print Answers RSS
0 OriginalGriff 400
1 Sergey Alexandrovich Kryukov 329
2 Afzaal Ahmad Zeeshan 264
3 BillWoodruff 245
4 CPallini 195
0 OriginalGriff 5,560
1 DamithSL 4,476
2 Maciej Los 3,942
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,175


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 30 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100