We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add condition to check for empty groups
PS C:\Users\administrator.PHARMAX> Get-ADGroup -Filter * -Properties Members | where {-not $_.members} | select Name, distinguishedName Name distinguishedName ---- ----------------- Allowed RODC Password Replication Group CN=Allowed RODC Password Replication Group,CN=Users,DC=acad,DC=pharmax,DC=local Read-only Domain Controllers CN=Read-only Domain Controllers,CN=Users,DC=acad,DC=pharmax,DC=local Cloneable Domain Controllers CN=Cloneable Domain Controllers,CN=Users,DC=acad,DC=pharmax,DC=local Protected Users CN=Protected Users,CN=Users,DC=acad,DC=pharmax,DC=local Key Admins CN=Key Admins,CN=Users,DC=acad,DC=pharmax,DC=local DnsAdmins CN=DnsAdmins,CN=Users,DC=acad,DC=pharmax,DC=local DnsUpdateProxy CN=DnsUpdateProxy,CN=Users,DC=acad,DC=pharmax,DC=local DHCP Users CN=DHCP Users,CN=Users,DC=acad,DC=pharmax,DC=local DHCP Administrators CN=DHCP Administrators,CN=Users,DC=acad,DC=pharmax,DC=local Domain Computers CN=Domain Computers,CN=Users,DC=acad,DC=pharmax,DC=local Domain Controllers CN=Domain Controllers,CN=Users,DC=acad,DC=pharmax,DC=local Domain Users CN=Domain Users,CN=Users,DC=acad,DC=pharmax,DC=local Domain Guests CN=Domain Guests,CN=Users,DC=acad,DC=pharmax,DC=local RAS and IAS Servers CN=RAS and IAS Servers,CN=Users,DC=acad,DC=pharmax,DC=local Server Operators CN=Server Operators,CN=Builtin,DC=acad,DC=pharmax,DC=local Account Operators CN=Account Operators,CN=Builtin,DC=acad,DC=pharmax,DC=local Terminal Server License Servers CN=Terminal Server License Servers,CN=Builtin,DC=acad,DC=pharmax,DC=local Print Operators CN=Print Operators,CN=Builtin,DC=acad,DC=pharmax,DC=local Replicator CN=Replicator,CN=Builtin,DC=acad,DC=pharmax,DC=local Remote Desktop Users CN=Remote Desktop Users,CN=Builtin,DC=acad,DC=pharmax,DC=local Network Configuration Operators CN=Network Configuration Operators,CN=Builtin,DC=acad,DC=pharmax,DC=local Performance Monitor Users CN=Performance Monitor Users,CN=Builtin,DC=acad,DC=pharmax,DC=local Performance Log Users CN=Performance Log Users,CN=Builtin,DC=acad,DC=pharmax,DC=local Distributed COM Users CN=Distributed COM Users,CN=Builtin,DC=acad,DC=pharmax,DC=local IIS_IUSRS CN=IIS_IUSRS,CN=Builtin,DC=acad,DC=pharmax,DC=local Cryptographic Operators CN=Cryptographic Operators,CN=Builtin,DC=acad,DC=pharmax,DC=local Event Log Readers CN=Event Log Readers,CN=Builtin,DC=acad,DC=pharmax,DC=local RDS Remote Access Servers CN=RDS Remote Access Servers,CN=Builtin,DC=acad,DC=pharmax,DC=local RDS Endpoint Servers CN=RDS Endpoint Servers,CN=Builtin,DC=acad,DC=pharmax,DC=local RDS Management Servers CN=RDS Management Servers,CN=Builtin,DC=acad,DC=pharmax,DC=local Hyper-V Administrators CN=Hyper-V Administrators,CN=Builtin,DC=acad,DC=pharmax,DC=local Access Control Assistance Operators CN=Access Control Assistance Operators,CN=Builtin,DC=acad,DC=pharmax,DC=local Remote Management Users CN=Remote Management Users,CN=Builtin,DC=acad,DC=pharmax,DC=local Storage Replica Administrators CN=Storage Replica Administrators,CN=Builtin,DC=acad,DC=pharmax,DC=local PS C:\Users\administrator.PHARMAX>
No response
The text was updated successfully, but these errors were encountered:
Fix HealthCheck - Empty Groups AsBuiltReport#172
9faae4b
rebelinux
Successfully merging a pull request may close this issue.
Description
Add condition to check for empty groups
Additional Context
No response
Before submitting
The text was updated successfully, but these errors were encountered: