TestimoX

API Reference

Command

Get-ADXGpoBrokenLink

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.Gpo.GpoLinkInfo

Lists orphaned/broken GPO links (container gPLink entries that reference nonexistent GPOs) across the forest.

Examples

Authored help example

Example 1: Review broken GPO links across the forest


Get-ADXGpoBrokenLink | Format-Table CanonicalName, GpoId, LinkOrder, Enforced -AutoSize
        

Example 2: Limit the scan to a specific production domain


Get-ADXGpoBrokenLink -DomainName 'contoso.com'
        

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