April 26, 2011

Active Directory: Identify Stale Computer Accounts

Using the Active Directory Modules included with Windows 7 + Windows 2008 R2 we can use powershell to identify computer accounts which are “stale” and have not changed their passwords in a specified amount of time. Define the Windows for “Stale” Example will check for 365 days old. Count the Number of PCs which are Stale Output a List of the Computer Accounts
+1 (844) 368-2747