Evotec

Project

GPOZaurr

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

Stars 1,166
Forks 115
Open issues 16
PowerShell Gallery downloads 417,764
Release v1.1.9
Language: PowerShell Updated: 2026-04-11

API Reference

Function

Skip-GroupPolicy

Namespace GPOZaurr

Used within ScriptBlocks only. Allows to exclude Group Policy from being affected by fixes

Remarks

Used within ScriptBlocks only. Allows to exclude Group Policy from being affected by fixes. Only some commands support it. The goal is to support all cmdlets.

Examples

Authored help example

EXAMPLE 1

PS >


Optimize-GPOZaurr -All -WhatIf -Verbose -LimitProcessing 2 {
    Skip-GroupPolicy -Name 'TEST | Drive Mapping 1'
    Skip-GroupPolicy -Name 'TEST | Drive Mapping 2'
}
        

EXAMPLE 2

PS >


Remove-GPOZaurr -Type Empty, Unlinked -BackupPath "$Env:UserProfile\Desktop\GPO" -BackupDated -LimitProcessing 2 -Verbose -WhatIf {
    Skip-GroupPolicy -Name 'TEST | Drive Mapping 1'
    Skip-GroupPolicy -Name 'TEST | Drive Mapping 2' -DomaiName 'ad.evotec.pl'
}
        

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

Skip-GroupPolicy [-DomaiName <String>] [-Name <String>] [<CommonParameters>]
#
Parameter set: Name

Parameters

DomaiName String optionalposition: namedpipeline: False
Define DomainName where Group Policy is located. Otherwise each domain will be checked and skipped if found with same name.
Name String optionalposition: namedpipeline: Falsealiases: DisplayName, GpoName
Define Group Policy Name to skip
Skip-GroupPolicy [-DomaiName <String>] [-GUID <String>] [<CommonParameters>]
#
Parameter set: Guid

Parameters

DomaiName String optionalposition: namedpipeline: False
Define DomainName where Group Policy is located. Otherwise each domain will be checked and skipped if found with same name.
GUID String optionalposition: namedpipeline: Falsealiases: ID