API Reference
Function
Repair-GPOZaurrBrokenLink
Removes any link to GPO that no longer exists.
Remarks
Removes any link to GPO that no longer exists. It scans all site, organizational unit or domain root making sure every single link that may be linking to GPO that doesn't exists anymore is gone.
Examples
EXAMPLE 1
PS >
Repair-GPOZaurrBrokenLink -Verbose -LimitProcessing 1 -WhatIf
EXAMPLE 2
PS >
Repair-GPOZaurrBrokenLink -Verbose -IncludeDomains ad.evotec.pl -LimitProcessing 1 -WhatIf
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
Repair-GPOZaurrBrokenLink [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [-LimitProcessing <Int32>] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- 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
- Allows to specify maximum number of items that will be fixed in a single run. It doesn't affect amount of GPOs processed