PowerShell DNS Commands:Add-DnsServerTrustAnchor
PowerShell DNS Commands » Add-DnsServerTrustAnchor

Add-DnsServerTrustAnchor

DNS Cmdlet: Add-DnsServerTrustAnchor

Syntax:

Add-DnsServerTrustAnchor [-Name] <String>[-KeyProtocol <String>]-Base64Data <String>[-ComputerName <String>][-CryptoAlgorithm] <String>[-PassThru] [-CimSession <CimSession[]>][-ThrottleLimit <Int32>][-AsJob][-WhatIf] [-Confirm][<CommonParameters>]

Parameters and Description:

Parameters Description
KeyProtocol (Type: String) Represents the key protocol for this resource record. Dnssec is the default value for this parameter
CryptoAlgorithm (Type: String) Specifies the cryptographic algorithm used by the cmdlet to generate keys.
PassThru (Type: SwitchParameter) Represents the item you are working with. By default, no output is generated with this cmdlet
Base64Data (Type: String) Represents the key data.
ComputerName (Type: String) Enter the IP address, NETBIOS name, FQDN or host name of the DNS server.
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.
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.

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

Purpose of this cmdlet:

The Add-DnsServerTrustAnchor cmdlet adds a trust anchor to a DNS server. It can either be a DNSKEY record or DS record.

Example:

Add-DnsServerTrustAnchor -Root

The above-mentioned basic command adds the trust anchor(s) from the RootTrustAnchorsURL property's URL.

Did you know that ADManager Plus enables you to:

  • Create, modify or delete AD contacts in bulk using templates or CSV file
  • Bulk create and manage AD organizational units (OUs) in a few clicks
  • Manage group memberships and file server permissions efficiently, and more.

Download the 30-day free trial of ADManager Plus and try out the features in your own AD environment!

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