How Can I Prompt a User for Input?
Hey, Scripting Guy! I need my script to prompt users to enter some information, like the name of the file they want to create. How do I do that?— RW, Williamsport, PA
Hey, BN. The simplest – and most foolproof –
Breaking news from around the world Get the Bing + MSN extension
A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! I need my script to prompt users to enter some information, like the name of the file they want to create. How do I do that?— RW, Williamsport, PA
Hey, BN. The simplest – and most foolproof –

Hey, Scripting Guy! Is there a way to make a script stop itself if certain conditions aren’t met? Like say I’m going to copy files to a remote computer, but then the remote computer isn’t available. Can I write code that tells the script to just go ahead and quit at that point?

Hey, Scripting Guy! I have a script that does certain management tasks based on the day of the week. I know how get the date in a script, but how can I tell whether it’s a Monday or a Tuesday or whatever?

Hey, Scripting Guy! When I run a batch file, I can use the Title command to change the caption of the command window. Can I change the caption of the command window from within a script?
— AA, Yokohama, Japan
Hey,

Hey, Scripting Guy! I’m trying to determine the IP address on a computer, but I keep getting a Type Mismatch error. Do you know why?
— AQ, Jacksonville, FL
Hey, AQ. As a matter of fact, we do know why you’re getting a Type Mismatch error,