API Reference
Command
Get-ADXGpoLegacyAdm
Detects legacy ADM files within a GPO.
Examples
Example 1
Get-ADXGpoLegacyAdm -Domain 'contoso.com' -Id '31B2F340-016D-11D2-945F-00C04FB984F9'
Example 2
Get-ADXGpoLegacyAdm -Domain 'contoso.com' -All
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-ADXGpoLegacyAdm -Domain <string> -Id <Guid> [-MaxFiles <int>] [<CommonParameters>]#Parameter set:
By IdParameters
- Domain string
- DNS domain name where the GPO resides.
- Id Guid
- GPO GUID (groupPolicyContainer objectGuid).
- MaxFiles int
- Maximum number of legacy files to return.
Outputs
ADPlayground.Gpo.GpoLegacyAdmRow
Get-ADXGpoLegacyAdm -All -Domain <string> [-MaxFiles <int>] [<CommonParameters>]#Parameter set:
By AllParameters
- All SwitchParameter
- Scan all policies under the domain SYSVOL root.
- Domain string
- DNS domain name where the GPO resides.
- MaxFiles int
- Maximum number of legacy files to return.
Outputs
ADPlayground.Gpo.GpoLegacyAdmRow