Last Update: December 12, 2012
PowerShell Version: 2.0 and 3.0
Libraries:
- PSv3.psm1
.SYNOPSIS
Returns password age information for a list of security groups.
.DESCRIPTION
Returns each user in a Security group and when they last changed their passwords.
.PARAMETER Group
Comma separate list of security groups who's members you need to evaluate for their password age. Any invalid groups will be ignored.
.EXAMPLE
Get-GroupPasswordDate -Group "IT", "IT Managers", "Domain Admins"
Group Name PasswordLastSet NumOfDays
----- ---- --------------- ---------
IT Amr Zaki 6/6/2012 6:05:26 PM 188
IT Ayca Yuksel 6/6/2012 6:05:26 PM 188
IT Steve Winfield 6/6/2012 6:05:26 PM 188
IT Maira Wenzel 6/6/2012 6:05:26 PM 188
IT Qiang Wang 6/6/2012 6:05:26 PM 188
IT Anne Wallace 6/6/2012 6:05:26 PM 188
No comments:
Post a Comment