How to Get a List of Users with Password Never Expires

Опубликовано: 26 Октябрь 2024
на канале: Active Directory Pro
2,010
13

To get a list of AD Users with Password Never Expires run the following PowerShell command:

get-aduser -filter * -properties Name, PasswordNeverExpires | where {$_.passwordNeverExpires -eq "true" } | Select-Object DistinguishedName,Name,Enabled

To create a report with the AD Pro Toolkit follow these steps.

1. Click on User Reports
2. Click the report "Users with a password set to never expire
3. Click Run
4. To export the report click the export button.

Download Free Trial of the AD Pro Toolkit
https://activedirectorypro.com/downlo...

Active Directory Blog
https://activedirectorypro.com/blog/