TestimoX

API Reference

Class

TrustExplorer

Namespace ADPlayground.Trusts
Assembly ADPlayground
Modifiers static

Recursively explores trust relationships (domain and forest) and enriches with LDAP trustedDomain data. Mirrors ADEssentials Get-WinADTrust.ps1 behavior at a high level.

Inheritance

  • Object
  • TrustExplorer

Methods

public static IReadOnlyList<Assessment> Explore(String forestName = null, Boolean recursive = false, Boolean skipValidation = true) #
Returns: IReadOnlyList<Assessment>

Explore trusts starting at forestName (or current forest), optionally recursing into remote forests.

Parameters

forestName System.String = null optionalposition: 0
recursive System.Boolean = false optionalposition: 1
skipValidation System.Boolean = true optionalposition: 2
public static ExplorerView ExploreView(String forestName = null, Boolean recursive = false, Boolean skipValidation = true) #
Returns: ExplorerView

Returns a view containing both the trust list and a flattened suffix list. Preferred for UI surfaces.

Parameters

forestName System.String = null optionalposition: 0
recursive System.Boolean = false optionalposition: 1
skipValidation System.Boolean = true optionalposition: 2
GetTopLevelNameStatus(System.Object arg1) #

Attempts to read the status of a TopLevelName entry in a forest trust. Uses reflection to avoid hard binding to a specific framework implementation. Defaults to Enabled when unknown.

Parameters

arg1 System.Object required