Scripting Blog [archived]

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

How Can I Determine the Name of the Local Computer Using WMI?

(image) Hey, Scripting Guy! How can I determine the name of the local computer using WMI?-- BM(image) (image) (image) Hey, BM. As you noted in your email we Scripting Guys always tell people that, in WMI, you can simply use a dot (.) to refer to the local computer. For example, the following mini-script connects you to the WMI service on ...

How Can I Select a Column of Data in Excel and Then Paste that Data into a Text File?

(image) Hey, Scripting Guy! How can I select a column of data in Excel and then paste that data into a text file?-- GT(image) (image) (image) Hey, RR. You know, if you’re like most people, any time you hear the words “Scripting Guys” you undoubtedly think of two things: elegance and sophistication. Despite our well-deserved ...

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 ...