TestimoX

API Reference

Command

Get-ADXNetLogonFile

Namespace ADPlayground.PowerShell
Inputs
System.String[]

Retrieves entries from NetLogon debug logs.

Examples

Authored help example

Example 1: Read a local NetLogon debug log and summarize the entries


Get-ADXNetLogonFile -Path 'C:\Windows\debug\netlogon.log' -Summary
        

Example 2: Copy and parse NetLogon logs from two domain controllers


Get-ADXNetLogonFile -Path 'C:\Windows\debug\netlogon.log' -ComputerName 'dc-01.contoso.com','dc-02.contoso.com' -SkipDuplicates
        

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

Get-ADXNetLogonFile -Path <string[]> [-NoAsync] [-ComputerName <string[]>] [-SkipDuplicates] [-Summary] [<CommonParameters>]
#

Parameters

Path string[] requiredposition: 0pipeline: true (ByValue, ByPropertyName)aliases: FilePath
The path to the NetLogon log file.
NoAsync SwitchParameter optionalposition: 1pipeline: false
Runs the operation synchronously.
ComputerName string[] optionalposition: namedpipeline: false
Copies logs from the specified domain controllers.
SkipDuplicates SwitchParameter optionalposition: namedpipeline: false
Skip duplicate log entries if set.
Summary SwitchParameter optionalposition: namedpipeline: false
Provides a summary of the NetLogon log entries.