Use this script to quickly gather info on Windows user accounts
Source: O'Reilly Media
Using this sample hack from the O'Reilly book Windows Server Hacks, learn how to build a very useful little script that will allow an administrator to query a Windows domain controller (in Windows 2000 and above) and quickly get a list of user accounts along with some basic account information on each user. This query works on both a SAM database and Active Directory. One of its best uses is that it allows an administrator to quickly see which accounts are locked out.
Title: Windows Server Hacks
ISBN: 0596006470
Published: March 2004
Author: Mitch Tulloch
Chapter: Hack 28: Get User Account Information
Publisher: O'Reilly
Title: Windows Server Hacks
ISBN: 0596006470
Published: March 2004
Author: Mitch Tulloch
Chapter: Hack 28: Get User Account Information
Publisher: O'Reilly
| Format: | Size: | 211.00 | |
| Version: | 1.0 | Date: | Apr 2005 |
| Downloads: | 24632 |



