# Get-GPOZaurrLink

Retrieves Group Policy Object (GPO) links based on specified criteria.

Project

GPOZaurr

GPOZaurr helps inspect, report on, and remediate Group Policy environments with PowerShell.

[View on GitHub](https://github.com/EvotecIT/GPOZaurr) [Visit Website](#) [Releases](https://github.com/EvotecIT/GPOZaurr/releases/tag/v1.1.10) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/GPOZaurr/1.1.9)

Stars **1,257**

Forks **121**

Open issues **15**

PowerShell Gallery downloads **421,558**

Release **v1.1.11**

Language: PowerShell Updated: 2026-10-30

Command 

**Module**

`GPOZaurr`

**Inputs**

`ADObject[]`

Retrieves Group Policy Object (GPO) links based on specified criteria.

## Syntax

```
Get-GPOZaurrLink
[-AsHashTable]
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-GPOCache <IDictionary>]
[-IncludeDomains <String[]>]
[-Limited]
[-Linked <All|Root|DomainControllers|Site|OrganizationalUnit>]
[-SkipDuplicates]
[-Summary]
[<CommonParameters>]
```

[#](#method-get-gpozaurrlink-switchparameter-string-idictionary-string-idictionary-string-switchparameter-string-switchparameter-switchparameter)

Parameter set: `Linked`

```
Get-GPOZaurrLink
-ADObject <ADObject[]>
[-AsHashTable]
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-GPOCache <IDictionary>]
[-IncludeDomains <String[]>]
[-Limited]
[-SkipDuplicates]
[-Summary]
[<CommonParameters>]
```

[#](#method-get-gpozaurrlink-adobject-switchparameter-string-idictionary-string-idictionary-string-switchparameter-switchparameter-switchparameter)

Parameter set: `ADObject`

```
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>]
```

[#](#method-get-gpozaurrlink-switchparameter-string-idictionary-string-string-idictionary-string-switchparameter-string-adsearchscope-switchparameter-switchparameter)

Parameter set: `Filter`

```
Get-GPOZaurrLink
[-AsHashTable]
[-ExcludeDomains <String[]>]
[-ExtendedForestInformation <IDictionary>]
[-Forest <String>]
[-GPOCache <IDictionary>]
[-IncludeDomains <String[]>]
[-Site <String[]>]
[-Summary]
[<CommonParameters>]
```

[#](#method-get-gpozaurrlink-switchparameter-string-idictionary-string-idictionary-string-string-switchparameter)

Parameter set: `Site`

## Description

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

```powershell
Get-GPOZaurrLink -ADObject $ADObject -Linked 'All'
```

Description ----------- Retrieves all linked GPOZaurr links for the specified Active Directory object(s).

### Example 2

```powershell
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.

## Parameters

**-AsHashTable SwitchParameter optional**

Specifies the as hash table switch.

**-ExcludeDomains String[] optional**

Specifies the domains to exclude from the search.

**-ExtendedForestInformation IDictionary optional**

Specifies one or more values for extended forest information.

**-Forest String optionalaliases: ForestName**

Specifies the forest name for filtering GPO links.

**-GPOCache IDictionary optional**

Specifies a cache for storing GPO information.

**-IncludeDomains String[] optionalaliases: Domain, Domains**

Specifies the domains to include in the search.

**-Limited SwitchParameter optionalsets: Linked, ADObject, Filter**

Indicates whether to limit the search results.

**-Linked String[] optionalsets: Linked**

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 optionalsets: Linked, ADObject, Filter**

Indicates whether to skip duplicate search results.

**-Summary SwitchParameter optional**

Specifies the summary switch.

**-ADObject ADObject[] requiredpipeline: True (ByValue, ByPropertyName)sets: ADObject**

Specifies the Active Directory object(s) to search for GPO links.

**-Filter String optionalsets: Filter**

Specifies the filter criteria to search for GPO links.

**-SearchBase String optionalsets: Filter**

Specifies the search base for filtering GPO links.

**-SearchScope ADSearchScope optionalsets: Filter**

Specifies the search scope for filtering GPO links.

Possible values: `Base`, `OneLevel`, `Subtree`

**-Site String[] optionalsets: Site**

Specifies the site(s) to search for GPO links.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:EE651FC6F1F1B8E13773E9F72E4AD6D648749FF28B8D3D7A9586DDECE6267F35 -->
