Scripting Blog

A place to learn about PowerShell and share stories of automation

How Can I Dynamically Link Two Drop-Down Lists?

Hey, Scripting Guy! How can I configure a pair of dropdown lists in an HTA so that, when I change the selection in the first list, the options available in the second list also change?-- PC Hey, PC. Before we get going today, we’d like to make it clear that the Scripting Guy who writes this column isn’t the least bit tired. Sure, he ...

How Can I Map a Printer Based on the Computer’s OU?

Hey, Scripting Guy! How can I map a printer based on the local computer’s OU?-- TG Hey, TG. Before we begin, we’d like to offer a sincere and heartfelt apology to the Scripting Editor. In a recent column, we made it sound as if, in her words, the Scripting Editor was a “ditzy teenager.” That, of course, is not the case. Instead, we...

How Can I Configure PowerPoint to Print Handouts Instead of Slides?

Hey, Scripting Guy! How can I configure the print options in PowerPoint so that, by default, handouts are printed rather than slides?-- OG Hey, OG. You know, whoever said “Lightning never strikes twice in the same place” didn’t reckon on the Scripting Guys, did they? After all, less than a year after winning the Spanish lottery the ...

How Can I Create a New WMI Namespace Under the Root Namespace?

Hey, Scripting Guy! How can I create a new WMI namespace under the root namespace?-- MT Hey, MT. So how are you doing, MT? We hope you’re doing well; the Scripting Guys hope that everyone is doing well. (OK: we hope that most everyone is doing well. There are a few exceptions to that general rule.) However, if it turns out that you aren...

How Can I Save All My Contacts as VCards?

Hey, Scripting Guy! How can I save all my contacts as VCards?-- ET Hey, ET. You know, we have to tell you the truth: after nearly 800 Hey, Scripting Guy! articles the Scripting Guy who writes this column is beginning to get a little burnt-out. Fortunately, the Scripting Editor has often volunteered to do the column for him, and the ...