ConvertTo-DnsServerPrimaryZone
DNS Cmdlet: ConvertTo-DnsServerPrimaryZone
Syntax:
ConvertTo-DnsServerPrimaryZone[-ComputerName <String>][-Name] <String> [-LoadExisting][-PassThru][-Force][-ReplicationScope] <String>[[-DirectoryPartitionName] <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. |
| LoadExisting (Type: SwitchParameter) | Represents that the server loads an existing file for the zone. |
| ReplicationScope (Type: String) | Specifies the partition on which the AD-integrated zone is stored. |
| DirectoryPartitionName (Type: String) | Denotes the directory partition to store the zone. |
| 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-DnsServerPrimaryZone cmdlet, please refer to this article.
Purpose of this cmdlet:
The ConvertTo-DnsServerPrimaryZone cmdlet lets you convert a zone to a DNS primary zone.
Example:
ConvertTo-DnsServerPrimaryZone "west04.abc.com" -PassThru -Verbose -ReplicationScope Domain -Force
The above command converts the west04.abc.com zone to an AD-integrated primary zone. The Force parameter skips the confirmation message.
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
