Share via


GetByZoneStatistics method of the PS_DnsServerStatistics class

Gets DNS server statistics. Aggregated server level statistics cannot be cleared using this cmdlet.

Syntax

uint32 GetByZoneStatistics(
  [in]  boolean                 Clear,
  [in]  string                  ComputerName,
  [in]  string                  ZoneName[],
  [out] DnsServerZoneStatistics cmdletOutput[]
);

Parameters

Clear [in]

Specifies if zone statistics need to be cleared for specified zone(s).

ComputerName [in]

Specifies the remote computer on which to execute the command

ZoneName [in]

Specifies zone name(s) for which statistics need to be retrieved.

cmdletOutput [out]

An embedded instance of the DnsServerZoneStatistics class.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerStatistics