Created
August 25, 2015 02:34
-
-
Save duffney/ba2d523bc25204e3267a to your computer and use it in GitHub Desktop.
Stale-ADgroups.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$StaleGroupsobj | where MemberCount -eq '0'` | |
| select Name,MemberCount,MemberofCount,DaysSinceChange` | |
| where MemberOfCount -eq '0' | where DaysSinceChange -GE '190'| ft |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment