Users with passwordlastset - TechRepublic
Question
October 5, 2015 at 04:45 PM
salmaalouf

Users with passwordlastset

by salmaalouf . Updated 10 years, 8 months ago

I have domain controller with multiple OU , I need to run power shell command to get users with passwordlastset .I need to generate report with information as
1-last time user change password
2 -when its going to expire.
Policy for change password is 45 days
I have OU for different region as follow :
domain : xxx.com
OU = Region1 then under there are many OU for countries
OU = Country x
then users and workstation and servers .
I know command for this question is Get-ADUser but I need to add all parameters to generate report .

This discussion is locked

All Comments