Power Help Files

This blog holds my PowerShell help files for those who have attended my classes. As I add new PowerShell help files into my classes, the online help will be located here.

If you like what you see, contact me and I'll let you know where I am instructing my next class.

Wednesday, December 12, 2012

Get-GroupPasswordDate

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