Examples/AnyRepo/Repo/PreProd/AD/Get-GroupMembers.ps1

1
2
3
4
5
6
7
8
param(
  [ValidateNotNullOrEmpty()]
  [string]$GroupName,
  [switch]$Recursive
)

Get-ADGroupMember $GroupName -Recursive:$Recursive