PowerTip: Back up GPOs with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to back up all GPOs in a domain.

Hey, Scripting Guy! Question How can I use Windows PowerShell to generate a backup of all Group Policy Objects in a domain?

Hey, Scripting Guy! Answer 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


Discussion is closed.

Feedback usabilla icon