Project

GPOZaurr

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

Stars 1,250
Forks 119
Open issues 15
PowerShell Gallery downloads 421,558
Release v1.1.11
Language: PowerShell Updated: 2026-10-09
Command

Repair-GPOZaurrNetLogonOwner

Module GPOZaurr

Sets new owner to each file in NetLogon share.

Syntax

Repair-GPOZaurrNetLogonOwner [[-ExcludeDomains] <String[]>] [[-ExtendedForestInformation] <IDictionary>] [[-Forest] <String>] [[-IncludeDomains] <String[]>] [[-LimitProcessing] <Int32>] [[-Principal] <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

EXAMPLE 1

Repair-GPOZaurrNetLogonOwner -WhatIf -Verbose -IncludeDomains ad.evotec.pl

Parameters

-ExcludeDomains String[] optionalposition: 1
Exclude domain from search, by default whole forest is scanned
-ExtendedForestInformation IDictionary optionalposition: 3
Ability to provide Forest Information from another command to speed up processing
-Forest String optionalposition: 0aliases: ForestName
Target different Forest, by default current forest is used
-IncludeDomains String[] optionalposition: 2aliases: Domain, Domains
Include only specific domains, by default whole forest is scanned
-LimitProcessing Int32 optionalposition: 5
Allows to specify maximum number of items that will be fixed in a single run. It doesn't affect amount of GPOs processed
-Principal String optionalposition: 4
Provide named owner. If not provided default S-1-5-32-544 is used.

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.