Skip to content

PowerShell script to get a list of Inactive, Old Password and Disabled accounts in AD

Notifications You must be signed in to change notification settings

M-Shabrawy/DormantAccounts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell Script to check for Dormant Accounts in MS AD Domain

Created by Mohamed Al-Shabrawy

It requires PowerShell AD Tools module to be installed

Use below command line to install under Administrator privilege

"dism /online /enable-feature /all /featurename:ActiveDirectory-PowerShell"

Port TCP/9389 required to access ADWS on DCs

Script will generate 4 files:

- List of disabled accounts

- List of inactive accounts

- List of old password accounts

- Log file

All files will be overwritten everytime script is executed.

Calculations is based on 45 Days period.

About

PowerShell script to get a list of Inactive, Old Password and Disabled accounts in AD

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published