Scripting Blog [archived]

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

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

(image) Hey, Scripting Guy! How can I determine whether a domain is in mixed mode or native mode?-- WW(image) (image) (image) 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...

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

(image) Hey, Scripting Guy! How can I convert a DN to this format: finance.fabrikam.com/Users?-- CW(image) (image) (image) 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 ...

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

(image) Hey, Scripting Guy! How can I get the “grandparent” of an object in Active Directory?-- JG(image) (image) (image) 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 ...

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

(image) Hey, Scripting Guy! How can I change the location of a user’s home drive in Active Directory?-- DS(image) (image) (image) 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 ...