Scripting Blog [archived]

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

How Can I Mask Passwords Using an InputBox?

(image) Hey, Scripting Guy! How can I mask passwords using an InputBox?-- PG(image) (image) (image) Hey, PG. If you’re hoping to mask passwords using a function or method built into WSH or VBScript we’re afraid you’ll be disappointed; neither technology supports password masking. That doesn’t mean you can’t do it, it just means ...

How Can I Determine Whether or Not a Group Has Any Members?

(image) Hey, Scripting Guy! How can I check a computer and find out whether the Remote Desktop Users group has any members?-- ET(image) (image) (image) Hey, ET. Somewhat surprisingly, ADSI doesn’t have any sort of NumberOfMembers property, a property that could tell you - at a glance - how many members are in a group. But that’s all ...

How Can I Get a List of All My Windows Server 2003 Computers?

(image) Hey, Scripting Guy! How can I gather the names of all the computers in my domain that are running Windows Server 2003?-- AS(image) (image) (image) Hey, AS. When we choose questions to answer for this column, we try to take questions from different areas of scripting. That does two things for us: it keeps us from being the answers-...

How Can I Change the Working Folder of a Script?

(image) Hey, Scripting Guy! My script needs to have the same working folder as the application that the script starts. How can I change the working folder of a script?-- JM(image) (image) (image) Hey, JM. You can change the current (or working) folder of a script simply by setting the value of the Wscript Shell object’s CurrentDirectory ...