PowerShell DNS Commands:dd-DnsServerZoneTransferPolicy
PowerShell DNS Commands » Add-DnsServerZoneTransferPolicy

Add-DnsServerZoneTransferPolicy

DNS Cmdlet: Add-DnsServerZoneTransferPolicy

Syntax:

Add-DnsServerZoneTransferPolicy[-ComputerName <String>][-PassThru] [[-Action] <String>][-ClientSubnet <String>][[-Condition] <String>][-InternetProtocol <String>][-Disable][-Name] <String>[-ProcessingOrder <UInt32>][-ServerInterfaceIP <String>][-TimeOfDay <String>][-TransportProtocol <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.
ClientSubnet (Type: String) Denotes the client subnet values for the exception list and follows the format: COMPARATOR, value1, value2,..., COMPARATOR, value 3, value 4,.. and the COMPARATOR can be EQ or NE and there can only be one EQ and one NE in a value.
InternetProtocol (Type: String) Specifies the IP version of the queries in terms of IPv4 and IPv6 addresses.
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.
ProcessingOrder (Type: UInt32) Represents the policy precedence; lower integer values have higher precedence.
ThrottleLimit (Type: Int32) Specifies the maximum number of concurrent operations that can be allowed to run this cmdlet. If its value is 0 or not specified, PowerShell will calculate the right throttle limit automatically.
TransportProtocol (Type: String) Specifies the transport protocol criterion wherein the valid values are TCP and UDP.
ServerInterfaceIP (Type: String) Denotes the server interface's IP address on which the DNS server listens.

To know further on Add-DnsServerZoneTransferPolicy cmdlet, please refer to this article.

Purpose of this cmdlet:

The Add-DnsServerZoneTransferPolicy cmdlet lets you add a zone transfer policy to a DNS server. A policy contains criteria and action.

Example:

Add-DnsServerZoneTransferPolicy -Name "InternalTransfers" -Action IGNORE
-ServerInterfaceIP "ne,xx.x.x.xx" -PassThru

The above command creates a zone transfer policy that rejects all zone transfer queries that do not arrive on the server interface xx.x.x.xx

Did you know that you can do the following computer objects-related tasks without any scripts:

  • List all computers running on a specific operating system.
  • Create, enable, or disable computers in bulk.
  • Generate report to see all the computers in a domain which are trusted for delegation, and more.

Download the 30-day free trial of ADManager Plus and check out the rest of the features the powerful tool offers!

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

  •  
  •  
  •  
  • By clicking 'Schedule a personalized demo' you agree to processing of personal data according to the Privacy Policy.
AD User Management / Reports
Active Directory Reporting
Active Directory Management
Related Products