TestimoX

API Reference

Class

QuickStatsService

Namespace ADPlayground
Assembly ADPlayground
Modifiers static

Provides fast, approximate object counts per domain for common categories. Uses paged LDAP and a time budget per counter to avoid long waits on large directories.

Inheritance

  • Object
  • QuickStatsService

Methods

public static DomainQuickStats GetDomainStats(String domainName, Nullable<TimeSpan> perCounterBudget = null) #
Returns: DomainQuickStats

Gets quick stats for a domain.

Parameters

domainName System.String requiredposition: 0
DNS domain name.
perCounterBudget System.Nullable{System.TimeSpan} = null optionalposition: 1
Time budget per counter (default 1 second).
public static IEnumerable<DomainQuickStats> GetForestStats(Nullable<TimeSpan> perCounterBudget = null) #
Returns: IEnumerable<DomainQuickStats>

Gets quick stats for all domains in current forest.

Parameters

perCounterBudget System.Nullable{System.TimeSpan} = null optionalposition: 0