API Reference
Command
Get-ADXGpoMissingFile
Detects missing baseline SYSVOL files/folders for GPOs (COM-free).
Examples
Example 1
Get-ADXGpoMissingFile -Domain contoso.com -BrokenOnly
Example 2
Get-ADXGpoMissingFile -Forest contoso.com -Name '*Security*' -BrokenOnly
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
Get-ADXGpoMissingFile [-BrokenOnly] [-Domain <string>] [-Forest <string>] [-Id <Guid[]>] [-Name <string[]>] [<CommonParameters>]#Parameters
- BrokenOnly SwitchParameter
- When present, emits only GPOs with at least one missing item.
- Domain string
- Optional domain filter to limit enumeration to one domain.
- Forest string
- Forest DNS name to enumerate. When omitted, uses the current forest.
- Id Guid[]
- Optional GUID filters.
- Name string[]
- Optional display-name filters (supports * and ?).
Outputs
ADPlayground.Gpo.GpoMissingSysvolFilesRow