I've decided to change the naming convention for our GPOs, so I'd like to rename all of my existing GPOs to conform to this new convention. Unfortunately, we've got hundreds of GPOs, so I don't want to use the GPMC to rename each one manually -- that would be time-consuming and prone to error. I'd prefer to write a script that could rename them automatically, instead.
Can anyone offer some sample scripting/code to rename group policy objects in batches? Thanks in advance for your time and help.