CmdID

CmdID / PowerShell / Cmdlets / Backup

Backup-GPO

Backs up one GPO or all the GPOs in a domain. Windows Server PowerShell reference

From the Windows Server PowerShell reference 9 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

9 in the Windows Server PowerShell reference
-AllSpecifies that all the GPOs in the domain are backed up.
-CommentSpecifies a comment for the backed-up GPO.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-Domain, -DomainNameSpecifies the domain for this cmdlet.
-Guid, -IdSpecifies the GPO to backup by its globally unique identifier (GUID).
-Name, -DisplayNameSpecifies the GPO to backup by its display name.
-Path, -BackupLocationSpecifies the path to the backup directory; for instance, C:\Backups or \MyServer\Backups.
-Server, -DCSpecifies the name of the domain controller that this cmdlet contacts to complete the operation.
-WhatIf, -wiShows what would happen if the cmdlet runs.