AD Bulk Disable Utility

This script disables multiple Active Directory user accounts using a CSV input. Designed for efficient offboarding or cleanup, it validates input, logs each action, and handles errors gracefully—helping IT admins manage account lifecycle with control and clarity.
Key Features
CSV-Driven Input
Takes a list of usernames or SamAccountNames from a CSV file for batch processing.Bulk Account Disabling
UsesDisable-ADAccount
to deactivate users quickly and efficiently.Detailed Logging
Outputs success and error results to a log file for visibility and auditing.Error Handling
Gracefully catches non-existent users, locked accounts, or permission issues.Simple, Reusable Utility
Easy to adapt for routine offboarding tasks or one-time AD cleanups.
Description
AD Bulk Disable Utility
4.10.2025
A PowerShell script that bulk-disables Active Directory accounts from a CSV list. It validates input, logs results for each action, and simplifies offboarding or cleanup in large environments.