您好!
根据我的研究,您可以通过PowerShell命令实现该需求:
1. 在DC上打开Windows PowerShell
2. 输入命令import-module ActiveDirectory,加载AD模块
3. 输入命令Search-ADAccount -PasswordNeverExpires | FT Name,ObjectClass -A
4. 您可以在输出的结果中查看到勾选了密码永不过期选项的用户,如下图所示:

希望以上信息对您有所帮助。
Best Regards,
Alvin Wang
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.