CreateOrUpdateDns
[-dnsServer] <String>
[-domain] <String>
[-name] <String>
[-ipAddressOrServer] <String>
[-warnOnUpdate] <Boolean> = false
Adds or updates an A
or CNAME
record on a DNS sever.
Can optionally log a warning if an update occurs
CreateOrUpdateARecord -dnsServer "192.168.0.100" -domain "myDomain.local" -name "server01" -ipAddressOrServer "192.168.0.10"
CreateOrUpdateARecord -dnsServer "192.168.0.100" -domain "myDomain.local" -name "server01" -ipAddressOrServer "server01.servers.local"