ConvertTo-DnsServerSecondaryZone
DNS Cmdlet: ConvertTo-DnsServerSecondaryZone
Syntax:
ConvertTo-DnsServerSecondaryZone[-ZoneFile] <String>[-MasterServers] <IPAddress[]> [-Name] <String>[-ComputerName <String>][-PassThru][-Force][-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. |
| MasterServers (Type: IPAddress[]) | Specifies an array of IP addresses of the master servers of the zone. Both IPv4 and IPv6 addresses can be used. |
| ZoneFile (Type: String) | Specifies the zone file's name and is relevant only for file-backed DNS. |
| ReplicationScope (Type: String) | Specifies the partition on which the AD-integrated zone is stored. |
| 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 ConvertTo-DnsServerSecondaryZone cmdlet, please refer to this article.
Purpose of this cmdlet:
The ConvertTo-DnsServerSecondaryZone cmdlet lets you convert a primary zone or a stub zone to a secondary zone on a DNS server.
Example:
ConvertTo-DnsServerSecondaryZone -Name "0.0.10.in-addr.arpa" -MasterServers xxx.xx.xx.xxx -ZoneFile "0.0.10.in-addr.arpa.dns" -PassThru -Verbose
The above command converts the mentioned zone to a secondary zone. As can be seen, the command specifies the master server and the zone file.
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
