CmdID

CmdID / PowerShell / Cmdlets / Restore

Restore-GPO

Restores one GPO or all GPOs in a domain from one or more GPO backup files. 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
-AllIndicates that the cmdlet restores all GPOs in the domain that have backups in the backup directory.
-BackupId, -IdSpecifies the backup ID of a GPO backup.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-Domain, -DomainNameSpecifies the domain for this cmdlet.
-GuidSpecifies the GPO to restore by its globally unique identifier (GUID).
-Name, -DisplayNameSpecifies the GPO to restore by its display name.
-Path, -BackupLocation, -BackupDirectorySpecifies the path to the backup directory.
-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.