MX Record Create

Creates an MX record for an Exchange server.

Privileges

Elevated - Run as Administrator.

Input Parameters

Name Type Required Description
Container String Yes The name of the container, domain name.
Owner String Yes Specifies the owner of the record, domain name.
Preference Number No The Preference field is relative to any other MX record for the zone (value 0 to 65535). Low values are preferred.
Mail Exchanger String Yes The FQDN of the machine acting as a mail exchange for the owner.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Container String Yes ABC.com
Owner String Yes ABC.com
Preference Number No <intentionally left blank>
Mail Exchanger String Yes mail.abc.com