PS AD – Suche Gruppen nach GroupScope GroupCategory

get-adgroup -filter "member -notlike '*' -AND GroupScope -eq 'global'" -SearchBase "OU=Groups,OU=ORG,DC=ndsedv,DC=de" | Select Name,Group*

get-adgroup -filter "member -notlike '*' -AND GroupCategory -eq 'Security'" -SearchBase "OU=Groups,OU=ORG,DC=ndsedv,DC=de" | Select Name,Group*