Showing archive results for 2006

Jan 27, 2006
Post comments count0
Post likes count0

How Can I Count the Number of Computers in a Domain?

ScriptingGuy1

Hey, Scripting Guy! How can I count the number of computers in a domain?-- TN Hey, TN. Here’s a true story for you. About 5 years ago, when one of the Scripting Guys first started at Microsoft, his group here (which might not be the most technically-savvy group at the company) needed to get a count of all our computers. How did they do that? Why...

Scripting Guy!VBScriptActive Directory
Jan 26, 2006
Post comments count0
Post likes count0

How Can I Auto-Delete Specific File Types from the My Pictures Folder?

ScriptingGuy1

Hey, Scripting Guy! How can I auto-delete specific file types from the My Pictures folder? If an error occurs with my fax machine, .drg and .txt files get added to My Pictures. I then have to delete these files before the fax machine will work again.-- WW Hey, WW. You know, this was a case where the Scripting Guys almost outsmarted themselves. (...

Scripting Guy!VBScriptmultimedia
Jan 25, 2006
Post comments count0
Post likes count0

How Can I Get a List of All the Objects that have been Added to Active Directory Since a Specified Date?

ScriptingGuy1

Hey, Scripting Guy! How can I get a list of all the objects that have been added to Active Directory since a specified date?-- KR Hey, KR. First of all we’d like to apologize if our answer here is still a little soggy. No doubt you’ve seen cartoons where someone receives a package in the mail, they hear it ticking and - suspecting the worse - th...

Scripting Guy!VBScriptActive Directory
Jan 24, 2006
Post comments count0
Post likes count0

How Can I Display the IP Addresses Associated with a Given MAC Address?

ScriptingGuy1

Hey, Scripting Guy! How can I display the IP addresses associated with a given MAC address?-- NK Hey, NK. Before we answer your question we should take a moment to answer a related question. People often ask us, “If I have a MAC address can I write a script that will tell me which computer on my network is using that address?” Unfortunately, the...

Scripting Guy!VBScriptnetworking
Jan 23, 2006
Post comments count0
Post likes count0

How Can I Add a User to a Group, but Only if that User is a Member of the IT Department?

ScriptingGuy1

Hey, Scripting Guy! How can I add a user to a group, but only if that user is a member of the IT department?-- JV Hey, JV. You know, this is your lucky day: not only are we going to show you how you can add a specified user to a group (assuming, of course, that this user is a member of the IT department), but we’re also going to show you a way t...

Scripting Guy!VBScriptActive Directory