API Reference
Function
Backup-GPOZaurr
Provides Backup functionality to Group Policies
Remarks
Provides Backup functionality to Group Policies
Examples
EXAMPLE 1
PS >
$GPOSummary = Backup-GPOZaurr -BackupPath "$Env:UserProfile\Desktop\GPO" -Verbose -Type All
$GPOSummary | Format-Table # only if you want to display output of backup
EXAMPLE 2
PS >
$GPOSummary = Backup-GPOZaurr -BackupPath "$Env:UserProfile\Desktop\GPO" -Verbose -Type All -BackupDated
$GPOSummary | Format-Table # only if you want to display output of backup
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.
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 SetsParameters
- 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