Clear-DnsServerStatistics
DNS Cmdlet: Clear-DnsServerStatistics
Syntax:
Clear-DnsServerStatistics[-ComputerName <String>][-Force]-ZoneName <String[]> [-CimSession <CimSession[]>][-ThrottleLimit <Int32>][-AsJob][-WhatIf][-Confirm] [<CommonParameters>]
Parameters and Description:
| Parameters | Description |
|---|---|
| ComputerName (Type: String) | Enter the IP address, NETBIOS name, FQDN or host name of the DNS server. |
| Force (Type: SwitchParameter) | Forces the command to execute without user's confirmation. |
| CimSession (Type: CimSession [] ) | Runs the cmdlet on a remote computer or session. For example: the output of Get-CimSession or New-CimSession cmdlet. By default, the cmdlet is run on the local computer in the current session. |
| WhatIf (Type: SwitchParameter) | Shows what would happen if the cmdlet runs. |
| ThrottleLimit (Type: Int32) | Specifies the maximum number of parallel operations that can be allowed to run this cmdlet. If its value is 0 or not specified, PowerShell will automatically calculate the right throttle limit. |
To know further on Clear-DnsServerStatistics cmdlet, please refer to this article.
Purpose of this cmdlet:
The Clear-DnsServerStatistics cmdlet lets you clear all the DNS server statistics. Once cleared, the statistics become irretrievable.
Example:
Clear-DnsServerStatistics -ZoneName "abc.com"
The above-mentioned basic command clears all the statistics from the DNS server for the zone abc.com.
Did you know that with just point-and-click actions, ADManager Plus enables you to:
- Generate a list of inactive/disabled accounts and delete them in a few clicks
- Automatically identify and cleanup inactive/disabled AD accounts
- Allow or deny a user from logging on to specific machines, and more.
Download the 30-day free trial of ADManager Plus to explore its other powerful AD management features.
Active Directory Management and Reporting Solution
ADManager Plus is a web-based tool which offers the capability to manage Active Directory attributes in bulk easily using CSV files or templates. Get built-in reports on users and export them in CSV, PDF, HTML and XLSX formats.
Unravel end-to-end Active Directory management with ADManager Plus
-
- ADManager Plus Active Directory Management & Reporting
- ADAudit Plus Hybrid AD, cloud, and file auditing and security
- EventLog Analyzer Real-time Log Analysis & Reporting
- ADSelfService Plus Self-Service Password Management
- AD360 Integrated Identity & Access Management
- Log360 Comprehensive SIEM and UEBA
- AD Free Tools Active Directory FREE Tools
