Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to add item level targeting to an existing GPP Registry item via powershell?

I'm in the process of streamlining my build process and I have come up empty for anything item level targeting related.

Edit: To clarify I will be creating active directory groups then appending a registry key to an existing GPP using that group as the item level targeting. This whole process needs to be automated to avoid transcription and logic errors.

share|improve this question
Could you clarify your requirements? I'm not sure why you can't just build the GPO with item level targeting using the standard tools. – Matt Jan 16 '12 at 23:40
Unfoetunately the built in tools aren't well suited for bulk or frequent changes. I'm looking for a powershell method that I can pass multiple groups to and always get a uniform build. – Tim Brigham Jan 17 '12 at 0:30
up vote 1 down vote accepted

I automated all the steps other than setting up the item level targeting via PowerShell and created a custom MMC snapin that opens straight to the group policy and registry keys in question at the end of my script. While not ideal it was the best possible option until MS provides a ready way to script item level targeting.

share|improve this answer

You might find this interesting:

A norwegian guy use this module for handling prefernce-printers adding his own cmdlet on top of the SDM-objects:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.