CmdID / PowerShell / Cmdlets / Add
Add-DnsServerResourceRecord
Adds a resource record of a specified type to a specified DNS zone. Windows Server PowerShell reference
From the Windows Server PowerShell reference 78 parameters Its page in the reference
Parameters
Show its 78 parameters
-AIndicates that the record that this cmdlet adds to the DNS server is a host address (A) resource record.-AAAAIndicates that the record that this cmdlet adds to the DNS server is an AAAA resource record.-AddressSpecifies a byte array that contains the asynchronous transfer mode (ATM) address of the owner to which this resource record object pertains.-AddressTypeSpecifies the format of an ATM address in an ATM address (ATMA) resource record.-AfsdbIndicates that the record that this cmdlet adds to the DNS server is an Andrew File System cell database server (AFSDB) resource record.-AgeRecordIndicates that the DNS server uses a time stamp for the resource record that this cmdlet adds.-AllowUpdateAnyIndicates that any authenticated user can update a resource record that has the same owner name.-AsJobRuns the cmdlet as a background job.-AtmaIndicates that the record that this cmdlet adds to the DNS server is an ATM address resource record.-CNameIndicates that the record that this cmdlet adds to the DNS server is a canonical name (CNAME) resource record.-CacheTimeoutSpecifies how long, in seconds, that a DNS server caches a response from a WINS server.-CertificateAssociationDataSpecifies the certificate association data for a Transport Layer Security (TLS) authentication record.-CertificateUsageSpecifies the certificate usage TLS authentication record.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-ComputerName, -CnSpecifies a DNS server.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CpuSpecifies the CPU type of a DNS server.-CreatePtrIndicates that the DNS server automatically creates an associated pointer (PTR) resource record for an A or AAAA record.-DNameIndicates that the record that this cmdlet adds to the DNS server is a domain alias (DNAME) resource record on a DNS server.-DescriptionSpecifies text to describe the person or people that are responsible for the domain.-DescriptiveTextSpecifies additional text to describe a resource record on a DNS server.-DhcIdIndicates that the record that this cmdlet adds to the DNS server is a Dynamic Host Configuration Protocol Information (DHCID) resource record.-DhcpIdentifierSpecifies a public key that is associated with an FQDN, as described in section 3 of RFC 2535.-DomainNameSpecifies the name of a domain.-DomainNameAliasSpecifies the alias for a domain name.-ForceAdds a resource record without prompting you for confirmation.-HInfoIndicates that the record that this cmdlet adds to the DNS server is a host information (HINFO) resource record on a DNS server.-HostNameAliasSpecifies a canonical name target for a CNAME record.-IPv4AddressSpecifies the IPv4 address of a host.-IPv6AddressSpecifies the IPv6 address of a host.-InputObjectSpecifies the input to this cmdlet.-IntermediateHostSpecifies the FQDN of a host that routes packets to a destination host.-InternetAddressSpecifies the IP address of the owner of a resource record.-InternetProtocolSpecifies the Internet Protocol (IP) for a resource record.-IsdnIndicates that the record that this cmdlet adds to the DNS server is an Integrated Services Digital Network (ISDN) resource record.-IsdnNumberSpecifies the number in the ISDN address that maps to the FQDN of a DNS server.-IsdnSubAddressSpecifies the number that is contained in an ISDN address that maps to the FQDN of a DNS server.-LookupTimeoutSpecifies the lookup time-out value for a resource record.-MXIndicates that the record that this cmdlet adds to the DNS server is a mail exchanger (MX) resource record.-MailExchangeSpecifies the FQDN of the host that is acting as a mail exchanger for the owner.-MatchingTypeSpecifies the matching type for the record.-NSIndicates that the record that this cmdlet adds to the DNS server is a Name Server (NS) resource record on a DNS server.-NameSpecifies the name of a DNS server resource record object.-NameServerSpecifies the name server of a domain.-OperatingSystemSpecifies the operating system identifier of a DNS server.-PassThruReturns an object representing the item with which you are working.-PortSpecifies the port where the server listens for the service.-PreferenceSpecifies the priority for this resource record among other resource records that belong to the same owner, where a lower value has a higher priority.-PrioritySpecifies the priority of a DNS server.-PsdnAddressSpecifies the public switched data network (PSDN) address of the owner of a resource record.-PtrIndicates that the record that this cmdlet adds to the DNS server is a PTR resource record.-PtrDomainNameSpecifies the FQDN of the host when you add a PTR resource record.-RPIndicates that the record that this cmdlet adds to the DNS server is a Responsible Person (RP) resource record.-RTIndicates that the record that this cmdlet adds to the DNS server is a Route Through (RT) resource record.-RecordDataSpecifies the data contained in the resource record you want to add.-ReplicateIndicates that the DNS server allows WINS replication.-ResponsiblePersonSpecifies the FQDN for the domain mailbox name of the person who is responsible for the resource record.-ResultDomainSpecifies the domain name to append to returned NetBIOS names.-SelectorSpecifies a selector.-ServerNameSpecifies the subtype of a host AFS server.-ServiceSpecifies the service or services that are available for the current rewrite path.-SrvIndicates that the record that this cmdlet adds to the DNS server is a Service (SRV) resource record.-SubTypeSpecifies whether the server is an AFS volume location server.-TLSAIndicates that the record that this cmdlet adds is a TLS authentication resource record.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-TimeToLiveSpecifies the Time to Live (TTL) value, in seconds, for a resource record.-TxtIndicates that the record that this cmdlet adds to the DNS server is a TXT resource record.-TypeSpecifies the type of the resource record.-VirtualizationInstanceSpecifies the virtualization instance in which the zone will be added.-WeightSpecifies a value for the weight of the target host for a resource record.-WhatIf, -wiShows what would happen if the cmdlet runs.-WinsIndicates that the record that this cmdlet adds to the DNS server is a WINS resource record.-WinsRIndicates that the record that this cmdlet adds to the DNS server is a WINS reverse (WinsR) resource record.-WinsServersSpecifies one or more IP addresses of WINS servers that you want to use for a resource record.-WksIndicates that the record that this cmdlet adds to the DNS server is WKS resource record.-X25Indicates that the record that this cmdlet adds to the DNS server is an X25 resource record.-ZoneNameSpecifies the name of a DNS zone.-ZoneScopeSpecifies the name of a zone scope.