How to use PowerShell to export all Group Policy objects
To export all Group Policy objects with Windows Server 2008 R2, launch a PowerShell session on a domain controller. Use the following commands:
Import-Module GroupPolicy
Backup-GPO –All –Path C:\folderpath