Hey, Scripting Guy! has a great series of posts around Group Policy & scripting:

Using group policy cmdlets for backup and restore

Test AD replication with group policy cmdlets

How to compare 2 GPOs offline (Part II)