.. | ||
ad-account-expiry.ps1 | ||
README.md |
AD Account Expiry PS Script
ADAccount Expiry is a PowerShell script that allows AD Admins to export into the Script's Current Directory a CSV report on Active Directory Accounts that are Expired, Expiring within 2 weeks, and/or Disabled..
Prerequisites
Before you begin, ensure you have met the following requirements:
- PowerShell with the ActiveDirectory module installed (Windows only).
- Proper permissions granted by your Admin.
Using ADAccount Expiry
To use AD Account Expiry, follow these steps:
- Place the
ad-account-expiry
folder at a location of your choosing - Run the script in PowerShell
- The report will be exported to the current directory
- Open the CSV in Excel
- File > Save As . change extension dropdown to "*.xlsx" > Save
- You may now apply any formatting/editing to the report prior to submitting it