Summary: Use Windows PowerShell to back up all GPOs in a domain.
How can I use Windows PowerShell to generate a backup of all Group Policy Objects in a domain?
Use the Backup-GPO cmdlet from the Remote Server Administration Tools (RSAT).
Specify a name, path, domain, and server, for example:
Backup-GPO -All -Path \\share\backups -Comment "weekly Backup" -Domain nwtraders.com -Server dc1