Tuesday, September 12, 2017

Powershell Tips – Get Users and Group from a GPO Security Filtering


Using security filtering on GPOs it’s a nice way to apply a GPO to specific groups or users.
But you may find yourself a little bit lost if you need to know every user or group you have configured.

Since Group Policy Management doesn’t allow you to export the users and groups, you’ll need to use a Powershell command to do it.

Here’s how:
Get-GPPermission Name ‘GPO NAME’ -All | Where Permission –eq GpoApply

And…you’re done!

No comments:

Post a Comment