API Reference
Class
TrustExplorer
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
- recursive System.Boolean = false
- skipValidation System.Boolean = true
public static ExplorerView ExploreView(String forestName = null, Boolean recursive = false, Boolean skipValidation = true) #Returns:
ExplorerViewReturns a view containing both the trust list and a flattened suffix list. Preferred for UI surfaces.
Parameters
- forestName System.String = null
- recursive System.Boolean = false
- skipValidation System.Boolean = true
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