Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! How Can I Change My Desktop Monitor Resolution via Windows PowerShell?

  Hey, Scripting Guy! I need to be able to use a Windows PowerShell 2.0 script to change the resolution on my desktop monitor. Is this possible? -- AS   Hello AS, Microsoft Scripting Guy Ed Wilson here, I have been looking for a script to change my monitor resolution for years! When I used to travel all over the world and taught ...

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (3/5/10)

In this post:   How Do I Create Shortcuts in Windows PowerShell? Hey, Scripting Guy! How do I create a Windows shortcut in Windows PowerShell? For example, I am installing Windows PowerShell these days on every Windows computer I touch. I would like to have a one-liner that creates the following shortcut: C:...

How Can I Determine the Current Screen Resolution Being Used on a Computer?

Hey, Scripting Guy! How can I determine the current screen resolution being used on a computer? You know, things like 1600x1200 resolution, 16-bit color, that kind of information.-- FE Hey, FE. Remember when you were a kid and your mom would have that annoying habit of beginning a discussion by answering the question you didn’t ask? For ...