TestimoX

API Reference

Class

DomainStatisticsService

Namespace ADPlayground.Domains
Assembly ADPlayground
Modifiers static

Provides helpers to build domain-level statistics snapshots.

Inheritance

  • Object
  • DomainStatisticsService

Methods

GetSnapshot 2 overloads
public static DomainStatisticsSnapshot GetSnapshot(ActiveDirectoryDataServices data, String domainName, ActiveDirectoryOverview overview = null) #
Returns: DomainStatisticsSnapshot

Builds a DomainStatisticsSnapshot using the supplied data services and an optional precomputed ActiveDirectoryOverview. This overload avoids recomputing the overview when you already have one at hand (e.g., in a larger assessment pipeline).

Parameters

data ADPlayground.ActiveDirectoryDataServices requiredposition: 0
Data access facade used to query AD.
domainName System.String requiredposition: 1
DNS domain name to summarize.
overview ADPlayground.ActiveDirectoryOverview = null optionalposition: 2
Optional forest/domain overview to reuse.

Returns

Materialized snapshot with functional levels, counts and recommendations.

public static DomainStatisticsSnapshot GetSnapshot(String domainName) #
Returns: DomainStatisticsSnapshot

Builds a DomainStatisticsSnapshot by querying the local environment for functional level, domain controller inventory and object counts. This is the convenient entry point when no overview is available.

Parameters

domainName System.String requiredposition: 0
DNS domain name to summarize.

Returns

Materialized snapshot with functional levels, counts and recommendations.