Is there a way to use PowerShell to export all AD groups that are NOT empty AND also that the "Managed by" is not empty.
Basically, I need all the group names that meet both criteria and also the login ID of the "Managed By" exported to csv.
Can anyone tell me if this is possible and how to accomplish?