You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Active Directory – PowerShell Scripts – To find out Disabled and Locked Accounts, Unlock accounts and Test Replication

UserPost

12:40 pm
February 6, 2012


An00p

Mumbai

Senior Member

posts 36

Full Post - Link 
ConfigMgr and Active Directory are very well integrated. And I’ve seen ConfigMgr admins are running around to get some help from Active Directory in terms of finding out locked and disabled accounts. Thought of sharing below PowerShell scripts because these would be very useful while working with ConfigMgr (SCCM) related issues.

All the scripts are shared by Richard Siddaway.

1. PowerShell script to Find user accounts that are disabled

2. PowerShell command to Unlock AD accounts

3. PowerShell script to test the AD replication

4. PowerShell Script to find out Locked out users in Active Directory

Anoop C Nair

Microsoft Community Contributor

My Blog: http://anoopmannur.wordpress.com

FaceBook Page – ConfigMgr Professionals

User Group Indian SCCM Professionals

Twitter @anoopmannur


About the Mumbai IT Professionals User Group Forum

Forum Timezone: UTC 5.5

Most Users Ever Online: 20

Currently Online:
7 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 4
Forums: 21
Topics: 58
Posts: 83

Membership:

There are 613 Members

There are 2 Admins
There are 2 Moderators

Top Posters:

An00p – 36
M Iqabl Qureshi – 10
SudhirBidye – 3
cyrilthomas – 2
Charles Derber – 1
hardikguru – 1

Recent New Members: Kunal Manekar, santoshshetty, Pradeep Gohil, vaibhavkadam07, Hasnain Khan, shahid.techie

Administrators: harimaurya (17 Posts), ashwin (1 Post)

Moderators: Jenilvasani (0 Posts), Sreekant (0 Posts)