Command
Backup-GPOZaurr
Provides Backup functionality to Group Policies
Syntax
Backup-GPOZaurr [-BackupDated] [[-BackupPath] <String>] [[-ExcludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>] [[-Forest] <String>] [[-IncludeDomains] <String[]>] [[-LimitProcessing] <Int32>] [[-Type] <Empty|Unlinked|Disabled|All>] [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
EXAMPLE 1
$GPOSummary = Backup-GPOZaurr -BackupPath "$Env:UserProfile\Desktop\GPO" -Verbose -Type All
$GPOSummary | Format-Table # only if you want to display output of backupEXAMPLE 2
$GPOSummary = Backup-GPOZaurr -BackupPath "$Env:UserProfile\Desktop\GPO" -Verbose -Type All -BackupDated
$GPOSummary | Format-Table # only if you want to display output of backupParameters
- -BackupDated SwitchParameter
- Whether cmdlet should created Dated folders for executed backup or not. Keep in mind it's not nessecary and two backups made to same folder have their dates properly tagged
- -BackupPath String
- Path where to keep the backup
- -ExcludeDomains String[]
- Exclude domain from search, by default whole forest is scanned
- -ExtendedForestInformation IDictionary
- Ability to provide Forest Information from another command to speed up processing
- -Forest String
- Target different Forest, by default current forest is used
- -IncludeDomains String[]
- Include only specific domains, by default whole forest is scanned
- -LimitProcessing Int32
- Limits amount of GPOs that are backed up
- -Type String[]
- Provides a way to backup only Empty or Unlinked GPOs. The default is All.
- Possible values:
Empty,Unlinked,Disabled,All
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.