Disable-DnsServerPolicy
DNS Cmdlet: Disable-DnsServerPolicy
Syntax:
Disable-DnsServerPolicy[-Level] <String%gt;[[-Name] <String%gt;][-ComputerName <String%gt;] [-Force][[-ZoneName] <String%gt;][-CimSession <CimSession[]%gt;][-ThrottleLimit <Int32%gt;] [-AsJob][-WhatIf][-Confirm][<CommonParameters%gt;]
Parameters and Description:
| Parameters | Description |
|---|---|
| Level (Type: String) | Denotes the level at which the policies will be disabled. |
| 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. |
| ZoneName (Type: String) | Specifies the DNS zone to which the record is added |
| Name (Type: String) | Denotes the name of the zone to be converted. |
| 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 Disable-DnsServerPolicy cmdlet, please refer to this article.
Purpose of this cmdlet:
The Disable-DnsServerPolicy cmdlet lets you disable query resolution policies as well as zone transfer policies on the DNS server.
Example:
Disable-DnsServerPolicy -Level Zone -Name "Policy01" -ZoneName "EuropeZone"
The above command disables the 'Policy01' zone level policy. The policy in question could be a query resolution policy or a zone transfer policy.
Did you know that ADManager Plus lets you can add, modify or delete AD objects easily with:
- One-click AD objects creation via custom templates
- Bulk AD objects management via CSV
- Automated identification and cleanup of stale AD accounts, 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
