Showing tag results for VBScript

Dec 16, 2004
Post comments count0
Post likes count0

How Can I Get a List of All the Domain Controllers in My Domain?

ScriptingGuy1

Hey, Scripting Guy! Is it possible to get a list of all the domain controllers in my domain?-- KT Hey, KT. As a matter of fact, there are at least two ways to get a list of all domain controllers in your domain. The first way is pretty easy, but not guaranteed; depending on how you’ve set up Active Directory, you could miss a few of your domain ...

Scripting Guy!VBScriptActive Directory
Dec 15, 2004
Post comments count0
Post likes count0

How Can I Grab a URL From the Clipboard and Then Open That Web Site in a Browser?

ScriptingGuy1

Hey, Scripting Guy! How can I grab a URL from the clipboard and then open that Web site in a browser?-- CL Hey, CL. Interesting question, or, should we say, questions. That’s because there’s really two issues here. The first one is easy: can I use a script to open a specified Web site? As you probably know, the answer to that one is a resounding...

Scripting Guy!VBScriptusing the Internet
Dec 14, 2004
Post comments count0
Post likes count0

How Can I Rename an Active Directory Group?

ScriptingGuy1

Hey, Scripting Guy! How can I rename an Active Directory group?-- CL Hey, CL. This is actually pretty easy; as you’ll see, it only takes two lines of code. It’s not a hard problem, it’s just a little bit tricky. That’s because ADSI (at least when it comes to dealing with Active Directory) does not have a Rename method. Instead, you need to use t...

Scripting Guy!VBScriptActive Directory
Dec 13, 2004
Post comments count0
Post likes count0

How Can I Run a Script Under Alternate Credentials?

ScriptingGuy1

Hey, Scripting Guy! Is there a way for me to log on to a computer using a regular user account, but then run a script as a domain administrator?-- WW Hey, WW. In answer to your question, yes, both WMI and ADSI provide a way for you to run a script under alternate security credentials; that is, both allow you to specify a user name and a password...

Scripting Guy!scripting techniquesVBScript
Dec 10, 2004
Post comments count0
Post likes count0

How Can I Map Drives Based on Membership in a Group?

ScriptingGuy1

Hey, Scripting Guy! How can I map drives in a logon script based on a security group each user belong to?-- RO Hey, RO. Considering the fact that this question has been asked by approximately 3,755,392 of our readers - oops, there’s another one; make that 3,755,393 of our readers - we decided it might be a good idea for us to answer it. So here ...

Scripting Guy!VBScriptActive Directory