API Reference
Class
TrustCommunicationAnalyzer
Analyzes trust communication failures using NetLogon logs and event logs.
Inheritance
- Object
- TrustCommunicationAnalyzer
Remarks
Requires either NetLogon debug logging to be enabled and accessible (for log parsing) or relevant events present in the System log on domain controllers. See TrustCommunicationEventLogParser for the event IDs used.
Constructors
public TrustCommunicationAnalyzer(Func<String, IEnumerable<NetLogonLogEntryGeneric>> readNetlog = null, Func<String, IEnumerable<TrustCommunicationIssue>> readEvents = null, Func<String, IEnumerable<String>> enumerateDcs = null, Boolean pingDcs = false) #Initializes a new instance of the TrustCommunicationAnalyzer class.
Parameters
- readNetlog System.Func{System.String,System.Collections.Generic.IEnumerable{ADPlayground.NetLogonLogEntryGeneric}} = null
- Delegate reading NetLogon log entries for a DC.
- readEvents System.Func{System.String,System.Collections.Generic.IEnumerable{ADPlayground.Trusts.TrustCommunicationIssue}} = null
- Delegate reading event log issues for a DC.
- enumerateDcs System.Func{System.String,System.Collections.Generic.IEnumerable{System.String}} = null
- Delegate enumerating domain controllers.
- pingDcs System.Boolean = false
- Indicates whether domain controllers should be pinged.
Methods
public IEnumerable<TrustCommunicationIssue> AnalyzeDomain(String domain) #Returns:
IEnumerable<TrustCommunicationIssue>Analyzes trust communication for the specified domain.
Parameters
- domain System.String
public IEnumerable<TrustCommunicationIssue> AnalyzeForest() #Returns:
IEnumerable<TrustCommunicationIssue>Analyzes trust communication across all forest domains.