Scripting Blog [archived]

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

How Can I Specify the Computers a User Can Use to Log On to the Domain?

(image) Hey, Scripting Guy! How can I configure a user account so that the user can only log on to the domain using specific computers?-- RB(image) (image) (image) Hey, RB. You know, at one point we had some really good solutions for you; unfortunately, Microsoft’s legal department said no to every single one of them. In their view, “...

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 Assign a New Home Drive to a User Who Doesn’t Have One?

 (image) Hey, Scripting Guy! How can I check to see if a user has a home drive and home directory set and, if they don’t, assign them a new one?-- AM(image) (image) (image) Hey, AM. No, no excuses: the Seahawks had plenty of opportunities to win the Super Bowl yesterday, but they failed to take advantage of it. At times it seemed ...

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 ...