TestimoX

API Reference

Command

Repair-ADXNetLogonOwner

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.Gpo.NetlogonOwnerRepairResult

Fixes NETLOGON folder ownership to a safe principal (e.g., Administrators).

Examples

Authored help example

Example 1


Repair-ADXNetLogonOwner -ComputerName DC01
        

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

Repair-ADXNetLogonOwner -ComputerName <string> [-Domain <string>] [-LimitProcessing <int>] [-Principal <string>] [-ScanCap <int>] [<CommonParameters>]
#

Parameters

ComputerName string requiredposition: namedpipeline: false
Target computer. Use '.' for local computer or provide DNS name.
Domain string optionalposition: namedpipeline: false
Optional DNS domain name used for SYSVOL mapping.
LimitProcessing int optionalposition: namedpipeline: false
Maximum number of items to fix in a single run.
Principal string optionalposition: namedpipeline: false
Owner identity (name or SID). Defaults to BUILTIN\\Administrators SID.
ScanCap int optionalposition: namedpipeline: false
Maximum number of filesystem entries to scan.

Outputs

ADPlayground.Gpo.NetlogonOwnerRepairResult