Scripting Blog [archived]

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

Hey, Scripting Guy! How Can I Simply Have Windows PowerShell Display Information on the Screen?

(image) Hey, Scripting Guy! I am not into all those fancy scripts you seem to write. I am just a basic, everyday network administrator, and I simply need to use scripts to make my job easier. Because of this, I am not interested in displaying progress bars, writing stuff to Excel or Word or even PowerPoint. I am interested simply in having my...

How Can I Play a Sound Each Time a Message Box is Displayed?

(image) Hey, Scripting Guy! I was using a script written by one of my colleagues, and I noticed that any time this script displayed a message box a sound was played as well. How can I play a sound each time I display a message box?-- KI (image) (image) (image) Hey, KI. You’ll have to give us a second here; the Scripting Guy who writes ...

How Can I Format a Series of Numbers as a Phone Number?

(image) Hey, Scripting Guy! How can I format a series of numbers as a phone number in Windows PowerShell?-- HR(image) (image) (image) Hey, HR. You know, formatting is all about making things look a little nicer and a little more presentable. That’s why the Scripting Guy who writes this column always finds it strange when people ask him ...

How Can I Modify the Output of the Ping Command?

(image) Hey, Scripting Guy! How can I place the current date and time at the beginning of each line of Ping.exe output?-- AL(image) (image) (image) Hey, AL. We have to admit, we were a little shocked by your question. Change the output of the Ping command? Really, AL. Would you ask us to rewrite Romeo and Juliet, giving it a more happy and...