CmdID / PowerShell / Cmdlets / Add
Add-DnsServerResourceRecordMX
Adds an MX resource record to a DNS server. Windows Server PowerShell reference
From the Windows Server PowerShell reference 16 parameters Its page in the reference
Parameters
-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.-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.-MailExchangeSpecifies an FQDN for a mail exchanger.-NameSpecifies the name of the host or child domain for the mail exchange record.-PassThruReturns an object representing the item with which you are working.-PreferenceSpecifies a priority, from 0 to 65535, for this MX 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.-VirtualizationInstanceSpecifies the virtualization instance in which the zone will be added.-WhatIf, -wiShows what would happen if the cmdlet runs.-ZoneNameSpecifies the name of a DNS zone.-ZoneScopeSpecifies the name of a zone scope.