Add-DnsServerResourceRecordDS
DNS Cmdlet: Add-DnsServerResourceRecordDS
Syntax:
Add-DnsServerResourceRecordDS [-Name] <String>[-CryptoAlgorithm] <String> [-TimeToLive <TimeSpan>][-AgeRecord][-Digest] <String>[-DigestType] <String> [-KeyTag] <UInt16>[-ComputerName <String>][-ZoneName] <String>[-PassThru] [-ZoneScope <String>][-CimSession <CimSession[]>][-ThrottleLimit <Int32>][-AsJob] [-WhatIf][-Confirm][<CommonParameters>]
Parameters and Description:
| Parameters | Description |
|---|---|
| CryptoAlgorithm (Type: String) | Denotes the cryptographic algorithm used by the server to generate keys. |
| TimeToLive (Type: TimeSpan) | Denotes the Time To Live (TTL) value in seconds for a given resource record. |
| AgeRecord (Type: SwitchParameter) | Specifies that a time stamp is used by the DNS server for the resource record that this cmdlet adds. |
| DigestType (Type: String) | Represents the type of digest data. |
| Digest (Type: String) | Denotes the DS digest data. |
| ComputerName (Type: String) | Enter the IP address, FQDN, NETBIOS name, or host name of the DNS server. |
| CimSession (Type: CimSession [] ) | Helps run the cmdlet on a remote computer or session. Runs the cmdlet on the local computer in the current session, by default. |
| ThrottleLimit (Type: Int32) | Lets you specify the number of maximum 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. |
For more information on this cmdlet, please refer to this article.
Purpose of this cmdlet:
The Add-DnsServerResourceRecordDS cmdlet lets you add a Delegation Signer (DS) resource record to a specific DNS zone.
Example:
$b = Get-DnsServerResourceRecord -RRType DS -ZoneName "abc.com" -computerName "Server1"
$b[0].RecordData | Add-DnsServerResourceRecordDS -ZoneName "abc.com" -Name "west02" -computerName "Server2"
This command imports the DS record from the west02.abc.com zone and adds it to the parent zone, abc.com
The first command gets the DS record and stores it in the variable named $b.
The second command gets the DS record from $b and adds it to abc.com.
Did you know that with ADManager Plus, you can easily:
- Allow or prevent a user from logging on to specific machines
- List all computers running on specific operating systems
- Generate a list of computer objects in the domain which are trusted for delegation
- And more.
Download the free 30-day trial to try out the product in your own instance!
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
