API Reference
Get-GPOZaurrLink
Retrieves Group Policy Object (GPO) links based on specified criteria.
Remarks
This function retrieves GPO links based on various parameters such as ADObject, Filter, Linked, Site, etc. It provides flexibility in searching for GPO links within Active Directory.
Examples
EXAMPLE 1
PS >
Get-GPOZaurrLink -ADObject $ADObject -Linked 'All'
Description ----------- Retrieves all linked GPOZaurr links for the specified Active Directory object(s).
EXAMPLE 2
PS >
Get-GPOZaurrLink -Filter "(objectClass -eq 'organizationalUnit')" -SearchBase 'CN=Configuration,DC=ad,DC=evotec,DC=xyz'
Description ----------- Retrieves GPOZaurr links based on the specified filter and search base.
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-GPOZaurrLink [-AsHashTable] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-GPOCache <IDictionary>] [-IncludeDomains <String[]>] [-Limited] [-Linked <All|Root|DomainControllers|Site|OrganizationalUnit>] [-SkipDuplicates] [-Summary] [<CommonParameters>]#LinkedParameters
- AsHashTable SwitchParameter
- ExcludeDomains String[]
- Specifies the domains to exclude from the search.
- ExtendedForestInformation IDictionary
- Forest String
- Specifies the forest name for filtering GPO links.
- GPOCache IDictionary
- Specifies a cache for storing GPO information.
- IncludeDomains String[]
- Specifies the domains to include in the search.
- Limited SwitchParameter
- Indicates whether to limit the search results.
- Linked String[]
- Specifies the type of linked GPOs to retrieve. Valid values are 'All', 'Root', 'DomainControllers', 'Site', and 'OrganizationalUnit'.
- Possible values:
All,Root,DomainControllers,Site,OrganizationalUnit - SkipDuplicates SwitchParameter
- Indicates whether to skip duplicate search results.
- Summary SwitchParameter
Get-GPOZaurrLink -ADObject <ADObject[]> [-AsHashTable] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-GPOCache <IDictionary>] [-IncludeDomains <String[]>] [-Limited] [-SkipDuplicates] [-Summary] [<CommonParameters>]#ADObjectParameters
- ADObject ADObject[]
- Specifies the Active Directory object(s) to search for GPO links.
- AsHashTable SwitchParameter
- ExcludeDomains String[]
- Specifies the domains to exclude from the search.
- ExtendedForestInformation IDictionary
- Forest String
- Specifies the forest name for filtering GPO links.
- GPOCache IDictionary
- Specifies a cache for storing GPO information.
- IncludeDomains String[]
- Specifies the domains to include in the search.
- Limited SwitchParameter
- Indicates whether to limit the search results.
- SkipDuplicates SwitchParameter
- Indicates whether to skip duplicate search results.
- Summary SwitchParameter
Get-GPOZaurrLink [-AsHashTable] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Filter <String>] [-Forest <String>] [-GPOCache <IDictionary>] [-IncludeDomains <String[]>] [-Limited] [-SearchBase <String>] [-SearchScope <Base|OneLevel|Subtree>] [-SkipDuplicates] [-Summary] [<CommonParameters>]#FilterParameters
- AsHashTable SwitchParameter
- ExcludeDomains String[]
- Specifies the domains to exclude from the search.
- ExtendedForestInformation IDictionary
- Filter String
- Specifies the filter criteria to search for GPO links.
- Forest String
- Specifies the forest name for filtering GPO links.
- GPOCache IDictionary
- Specifies a cache for storing GPO information.
- IncludeDomains String[]
- Specifies the domains to include in the search.
- Limited SwitchParameter
- Indicates whether to limit the search results.
- SearchBase String
- Specifies the search base for filtering GPO links.
- SearchScope ADSearchScope
- Specifies the search scope for filtering GPO links.
- Possible values:
Base,OneLevel,Subtree - SkipDuplicates SwitchParameter
- Indicates whether to skip duplicate search results.
- Summary SwitchParameter
Get-GPOZaurrLink [-AsHashTable] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-GPOCache <IDictionary>] [-IncludeDomains <String[]>] [-Site <String[]>] [-Summary] [<CommonParameters>]#SiteParameters
- AsHashTable SwitchParameter
- ExcludeDomains String[]
- Specifies the domains to exclude from the search.
- ExtendedForestInformation IDictionary
- Forest String
- Specifies the forest name for filtering GPO links.
- GPOCache IDictionary
- Specifies a cache for storing GPO information.
- IncludeDomains String[]
- Specifies the domains to include in the search.
- Site String[]
- Specifies the site(s) to search for GPO links.
- Summary SwitchParameter