Files
GPOZaurr/Docs/Repair-GPOZaurrNetLogonOwner.md
T
Przemyslaw Klys 5a578278d0 Updated docs
2021-12-03 22:32:16 +01:00

3.1 KiB

external help file, Module Name, online version, schema
external help file Module Name online version schema
GPOZaurr-help.xml GPOZaurr 2.0.0

Repair-GPOZaurrNetLogonOwner

SYNOPSIS

Sets new owner to each file in NetLogon share.

SYNTAX

Repair-GPOZaurrNetLogonOwner [[-Forest] <String>] [[-ExcludeDomains] <String[]>] [[-IncludeDomains] <String[]>]
 [[-ExtendedForestInformation] <IDictionary>] [[-Principal] <String>] [[-LimitProcessing] <Int32>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

Sets new owner to each file in NetLogon share.

EXAMPLES

EXAMPLE 1

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

PARAMETERS

-Forest

Target different Forest, by default current forest is used

Type: String
Parameter Sets: (All)
Aliases: ForestName

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ExcludeDomains

Exclude domain from search, by default whole forest is scanned

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludeDomains

Include only specific domains, by default whole forest is scanned

Type: String[]
Parameter Sets: (All)
Aliases: Domain, Domains

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ExtendedForestInformation

Ability to provide Forest Information from another command to speed up processing

Type: IDictionary
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Principal

Provide named owner. If not provided default S-1-5-32-544 is used.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: S-1-5-32-544
Accept pipeline input: False
Accept wildcard characters: False

-LimitProcessing

Allows to specify maximum number of items that will be fixed in a single run. It doesn't affect amount of GPOs processed

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: 2147483647
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

General notes