Showing results for ADSI - Scripting Blog [archived]

Aug 4, 2006
Post comments count0
Post likes count0

How Can I Determine Whether a Domain is in Mixed Mode or Native Mode?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine whether a domain is in mixed mode or native mode?-- WW Hey, WW. When you listen to a Seattle Mariners game on the radio one of the regular features is “Stump the Broadcasters.” The premise to Stump the Broadcasters is that listeners send in a baseball question to be asked of the Mariners broadcasters. If y...

Scripting Guy!scripting techniquesVBScript
Feb 14, 2006
Post comments count0
Post likes count0

How Can I Convert a DN to this Format: finance.fabrikam.com/Users?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I convert a DN to this format: finance.fabrikam.com/Users?-- CW Hey, CW. You know, this is a pretty good question; in fact, we should have used it for the Winter Scripting Games. Ah, but, on second thought, maybe it’s a good thing we didn’t use it. Why not? Well, because all the Scripting Games competitors could find ...

Scripting Guy!scripting techniquesVBScript
Dec 20, 2005
Post comments count0
Post likes count0

How Can I Get the “Grandparent” of an Object in Active Directory?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I get the “grandparent” of an object in Active Directory?-- JG Hey, JG. Wait a second: is this “grandparent” thing some sneaky reference to the fact that the Scripting Guys (well, except for Jean, of course) are all starting to show their age a bit? OK; we just wanted to make sure. (Editor’s Note: Yes, that originally...

Scripting Guy!scripting techniquesVBScript
Dec 9, 2005
Post comments count0
Post likes count0

How Can I Use Alternate Credentials When Searching Active Directory?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I use alternate credentials when searching Active Directory?-- PT Hey, PT. So what’s the big idea here? Devoted readers of this column (both of them) know that we usually love tackling questions where the answer involves searching Active Directory. Why? That’s easy: because we don’t really answer thos...

Scripting Guy!scripting techniquesVBScript
Dec 2, 2005
Post comments count0
Post likes count0

How Can I Change the Location of a User’s Home Drive in Active Directory?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I change the location of a user’s home drive in Active Directory?-- DS Hey, DS. Did you ever read the story The Tell-Tale Heart by Edgar Allan Poe? In that story the narrator commits the perfect crime: he kills an old man and then dismembers and hides the body, taking such care that no one could possibly know that a m...

Scripting Guy!scripting techniquesVBScript