Created
March 2, 2022 16:57
-
-
Save moisei/a8e05350c1fb052db3da75241e5bc564 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
foreach ($group in $groups) { Write-Host " === $group == "; (Get-Culture).TextInfo.ToTitleCase((Get-ADGroupMember $group | Sort-Object -property Name | Select Name -ExpandProperty Name | Out-String -Width 100).ToLower()) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment