Link to home
Start Free TrialLog in
Avatar of yogesh mehta
yogesh mehta

asked on

Active Directory User password getting expired

Hi,

I need to extract one report of users whos password is getting expired in few days is there any solution for the same.
Avatar of yogesh mehta
yogesh mehta

ASKER

tried this command but its not working
Search-ADAccount -PasswordExpiring -DateTime 10/15/2009 | where {$_.ObjectClass -eq 'user'} | FT Name,ObjectClass -A
ASKER CERTIFIED SOLUTION
Avatar of Niten Kumar
Niten Kumar
Flag of Fiji image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you can add the WMF framework to upgrade your powershell.. note password expiring is in DAYS.Hours:Minutes:Seconds