Scripting Blog [archived]

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

Active Directory Week: Stale Object Cleanup Guidance—Part 2

Summary: Scripting tips for cleaning up stale Active Directory accounts. Microsoft Scripting Guy, Ed Wilson, is here. Today we continue our series about Active Directory PowerShell by Ashley McGlone. Before you begin, you might enjoy reading these posts from the series: See yesterday’s post for a discussion and guidance about stale...

PowerTip: Use PowerShell to Get Inactive Active Directory Accounts

Summary: Use Windows PowerShell to get a report of inactive Active Directory accounts.(image) How can I use Windows PowerShell to get a report of inactive Active Directory accounts?(image) The Search-ADAccount cmdlet has a number of parameters and switches to help identify stale accounts: You can also use the -...

Active Directory Week: Stale Object Cleanup Guidance—Part 1

Summary: Learn about how to clean up stale Active Directory accounts. Microsoft Scripting Guy, Ed Wilson, is here. Today we continue our series about Active Directory PowerShell by Ashley McGlone. Before you begin, you might enjoy reading his first two posts: Here's Ashley... In the United States, this week we celebrate Thanksgiving. ...

Active Directory Week: Explore Group Membership with PowerShell

Summary: Learn about the nuances involved in reporting group memberships with Active Directory PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we continue our series about Active Directory PowerShell by Ashley McGlone. If you missed it, you may enjoy reading Get Started with Active Directory PowerShell first. Now, here's ...