1. Кто в группе учетная запись активна
> Get-ADGroupMember -Identity "nameGroup" -Recursive | ForEach-Object {Get-ADUser -Identity $_.distinguishedName -Properties *} | Where-Object {$_.Enabled -like “true”} | ft SamAccountName,name -AutoSize
или запись короче ForEach-Object заменено на %
> Get-ADGroupMember -Identity "nameGroup" -Recursive | ForEach-Object {Get-ADUser -Identity $_.distinguishedName -Properties *} | Where-Object {$_.Enabled -like “true”} | ft SamAccountName,name -AutoSize