PowerShell DNS Commands:Add-DnsServerZoneDelegation
PowerShell DNS Commands » Add-DnsServerZoneDelegation

Add-DnsServerZoneDelegation

DNS Cmdlet: Add-DnsServerZoneDelegation

Syntax:

Add-DnsServerZoneDelegation[-ComputerName <String>][-PassThru] [[-ZoneScope] <String>][-InputObject] <CimInstance>[-VirtualizationInstance <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.
ChildZoneName (Type: String) Mentions the name of the child zone.
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.
IPAddress (Type: IPAddress[]) Specifies the list of IP addresses for DNS servers for the child zone.
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.
VirtualizationInstance (Type: String) It is a logical partition in the DNS server. This parameter denotes the virtualization instance in which the zone will be added.
ZoneScope (Type: String) Denotes the name of the zone scope.

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

Purpose of this cmdlet:

The Add-DnsServerZoneDelegation cmdlet lets you add a zone delegation to a DNS zone.

Example:

Add-DnsServerZoneDelegation -Name "abc.com" -ChildZoneName "west01"
-NameServer "wserver.west01.abc.com" -IPAddress xxx.xx.xx.xxx -PassThru -Verbose

When the above command is executed, a delegation is created for west01 zone.abc.com with the name server and IP address mentioned in the command.

Download ADManager Plus' 30-day trial to experience how you can do the following without a single line of PowerShell script:

  • Allow or stop a user from logging on to specific machines
  • List all computers running on particular operating systems
  • Fetch important AD-related data via 200+ out-of-the-box reports, and more.

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