Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Start a Process and Then Wait For the Process to End Before Terminating the Script?

(image) Hey, Scripting Guy! How can I start a process and then wait until that process quits before terminating the script?-- FG(image) (image) (image) Hey, FG. Before we answer your question, the Scripting Guy who writes this column has a confession to make: he’s the one who ruined Christmas for everyone. Not that he meant to, mind you, ...

How Can I Compare a List of Names in One Excel Column to a List of Names in Another Column?

(image) Hey, Scripting Guy! In Excel, how can I compare a list of names found in one column with a list of names found in another column?-- GS(image) (image) (image) Hey, GS. You know, in general we Scripting Guys are charged with presenting people with facts; in turn, we’re really supposed keep our opinions to ourselves. However, ...

How Can I Determine the OU the Local Computer Belongs To?

(image) Hey, Scripting Guy! In a logon script, which attribute do I use to determine the OU that the local computer belongs to?-- JP(image) (image) (image) Hey, JP. Most people are familiar with Cupid, the Roman god of love. In fact, you’d be hard-pressed to find anyone who doesn’t know that Cupid carries with him a quiver of gold-tipped...

How Can I Convert a Tilde-Delimited File to Microsoft Excel Format?

(image) Hey, Scripting Guy! How can I convert a tilde-delimited file to Microsoft Excel format?-- JN(image) (image) (image) Hey, JN. You know, to tell you the truth we’re beginning to rethink our approach to this column. After all, usually we tell people how easy things are, and how – without much effort – they can write a script that ...

How Can I Expand the Width of the Windows PowerShell Console?

(image) Hey, Scripting Guy! How can I expand the width of the Windows PowerShell console? When I display certain kinds of data – like information from the event logs – that data gets cut off because the console window isn’t wide enough.-- TB(image) (image) (image) Hey, TB. Wow, what a coincidence: we were just about to ask you that ...