Showing results for displaying output - Scripting Blog [archived]

Jul 6, 2009
0
0

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

ScriptingGuy1
ScriptingGuy1

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

Scripting Guy!Windows PowerShellscripting techniques
Aug 2, 2007
0
0

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

ScriptingGuy1
ScriptingGuy1

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 Hey, KI. You’ll have to give us a second here; the Scripting Guy who writes this column got home a little late last n...

Scripting Guy!scripting techniquesVBScript
Mar 16, 2007
0
0

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

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I format a series of numbers as a phone number in Windows PowerShell?-- HR 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 formatting questions. A little nicer and...

Scripting Guy!Windows PowerShellscripting techniques
Aug 17, 2006
0
0

How Can I Modify the Output of the Ping Command?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I place the current date and time at the beginning of each line of Ping.exe output?-- AL 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 upbeat ending? Would you ask us to f...

Scripting Guy!scripting techniquesVBScript
Aug 4, 2004
0
0

How Do I Change the Title of a Message Box?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Whenever I use a message box, the caption reads Windows Script Host. Is there any way to change that caption?-- TT, Reno, NV Hey, TT. To answer your question, no, not if you’re using Wscript.Echo; in that case, you’re stuck with the caption Windows Script Host. However, you can create a custom caption using the VBScript Msgbox...

Scripting Guy!scripting techniquesVBScript