Forum Discussion

ajitsgovilkar's avatar
ajitsgovilkar
Copper Contributor
Nov 02, 2025

Need Powershell Script for consolidated report of Active Directory users

Dear Experts,

I need a consolidated report for the following instances for Active Directory users -->

1) All LIVE AD Users with “CREATED ON” header

 

2) Inactive Users (No Login in 90+ Days)

 

3) Users with “Password Never Expires” Mark

 

4) Users Who Never Logged In – Users never logged on

 

5) Users with Old Passwords (Not Changed in 90+ Days)

 

6) Disabled User Accounts with “Disabled ON” header

 

7) Inactive Computers (No Logon in 60+ Days)

 

8) Disabled Computer Accounts

 

9) Last User Logged in, on computers

 

10) ALL Users' with Last Password Change Date

 

Kindly share the powershell script for the same ASAP.

 

..Ajit

1 Reply

  • JonathanCox234's avatar
    JonathanCox234
    Copper Contributor

    Need a single PowerShell script that consolidates all AD user and computer reports as listed—covering live users, inactive accounts, password statuses, and last login info—to save time and avoid running multiple commands.