Install Active Directory Management Service for Easy PowerShell Access

Summary: In this step-by-step blog post, the Microsoft Scripting Guy covers installing the Active Directory Management Service for Windows PowerShell access to Active Directory Domain Services.   Hey, Scripting Guy! I read with interest your blog post yesterday about using the Microsoft Windows PowerShell cmdlets to work with users in Active Directory. The problem is…


How Can I Determine the OU the Local Computer Belongs To?

Hey, Scripting Guy! In a logon script, which attribute do I use to determine the OU that the local computer belongs to?– JP Hey, JP. Most people are familiar with Cupid, the Roman god of love. In fact, you’d be hard-pressed to find anyone who doesn’t know that Cupid carries with him a quiver of…

8

How Can I Configure an Active Directory Account So the Password Never Expires?

Hey, Scripting Guy! How can I configure an Active Directory user account so that the account password never expires?– BB Hey, BB. Before we start we have a question for you: wouldn’t you agree that Catch-22 is one of the four greatest novels ever written? We ask that because, in his English class, the Scripting…

5

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

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…

2

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

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…

3