IT Guy
asked on
PowerShell script to display AD user's password expiration dates
Please provide me with a Server 2016 PowerShell script to display each Active Directory user's password expiration date.
I need to run this command that will display a list of all Active Directory users and their AD password expiration dates without having to run this command on each individual AD account.
I need to run this command that will display a list of all Active Directory users and their AD password expiration dates without having to run this command on each individual AD account.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What is the syntax for running this script so that this information will be displayed for all users who do have the "Password never expires" checkbox selected so I will know when these user's AD passwords will expire once the "Password never expires" checkbox is deselected?
I need to determine exactly when user's passwords will be expiring (or if they already have) before I deselect the AD "Password never expires" checkbox for those users who have it selected.