Powershell
Getting a list of users in your AD domain via Powershell
Getting a list of printers published in an Active Directory domain
Detecting inactive computers in your domain:
Get-ADComputer -Filter * -Properties Name, LastLogonDate
Vbscript
Getting a list of users in an AD Group using Vbscript.
Quest Active Server Roles PowerShell (obsolete)
… was purchased by Dell, who have turned it into a commercial product.
Detecting inactive computers in your AD domain
Getting a list of users in an Active Directory group
Getting a list of users in your AD domain