Find user accounts whichhave the password never expires option checked.

Posted on 2012-09-12
Medium Priority
Last Modified: 2012-09-12

Is there a way of finding from AD 2003 all the accounts that have the option password never expires option checked?

Question by:srinivaskakumanu
LVL 10

Accepted Solution

chubby_informer earned 1500 total points
ID: 38391808
its a paid tool but there is a 30day trial available that would work for you

LVL 84

Expert Comment

by:David Johnson, CD, MVP
ID: 38392084
You don't need to purchase Quest AD manager it is very handy though

import-module ActiveDirectory
Search-ADAccount -passwordneverexpires

if you want a .csv append the following code (no quotes) "| export-csv notexpires.csv -NoTypeInformation"

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question