Scripting Blog [archived]

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

How Can I Determine Which Version of Windows Vista is Installed on a Computer?

(image) Hey, Scripting Guy! How can I determine which version of Windows Vista is installed on a computer?-- GC(image) (image) (image) Hey, GC. You know, Microsoft is one of the largest and most successful companies the world has ever known. And yet, despite all our successes, we’re really no different than any anyone else: for example, ...

How Can I Tell Which of Our Windows Server 2003 Computers are Running R2?

(image) Hey, Scripting Guy! We have a bunch of Windows Server 2003 computers in our organization. Some of these computers are running Windows Server 2003 R2 and some are not. How can I tell which of our Windows Server 2003 computers are running R2?-- TX(image) (image) (image) Hey, TX. You know, that’s a question that people have been ...

How Can I Tell Whether a Logon Script is Running on a Workstation or on a Server?

(image) Hey, Scripting Guy! How can I tell whether a logon script is running on a workstation or on a server? If the script is running on a server, I want to skip a portion of the script.-- RT(image) (image) (image) Hey, RT. You know, a few years ago one of the Scripting Guys helped a fellow Microsoft employee set up a computer lab that ...

How Can I Determine Which Version of Word is Installed on a Computer?

(image) Hey, Scripting Guy! How can I determine which version of Word is installed on a computer?-- RR(image) (image) (image) Hey, RR. Turns out that this is a trickier question than you might expect. That’s because WMI does only a so-so job of retrieving information about the software installed on a computer. In theory, you can use a ...