Automate GPO management with scripting interfaces included in GPMC. Article from Windows & .NET Magazine.
GPMC Scripting
GPMC Scripting