API Reference
Command
Remove-ADXGpoLinkEmptyOU
Removes GPO links (clears gPLink) from Organizational Units that are flagged as safe to unlink by the OU inventory logic (GPOZaurr parity).
Examples
Generated fallback example from command syntax.
Remove-ADXGpoLinkEmptyOU -ExcludeDomains @('Value')
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
Remove-ADXGpoLinkEmptyOU [-ExcludeDomains <string[]>] [-ExcludeOrganizationalUnit <string[]>] [-Forest <string>] [-IncludeDomains <string[]>] [-LimitProcessing <int>] [<CommonParameters>]#Parameters
- ExcludeDomains string[]
- Exclude domains from the scan (DNS names).
- ExcludeOrganizationalUnit string[]
- OU distinguished name wildcard exclusions.
- Forest string
- Target a different forest (DNS name). When omitted, the current forest is used.
- IncludeDomains string[]
- Include only specific domains (DNS names). When omitted, all forest domains are scanned.
- LimitProcessing int
- Maximum number of Organizational Units to process.
Outputs
System.Int32