< Back

Publish-DynDnsZoneChanges

Sat Jan 18, 2020 8:15 pm

NAME Publish-DynDnsZoneChanges



SYNOPSIS

The Publish-DynDnsZoneChanges command publishes pending zone changes.





SYNTAX

Publish-DynDnsZoneChanges [-Zone] <String> [[-Notes] <String>] [-Confirm] [-Force] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Publish-DynDnsZoneChanges command publishes pending zone changes, which includes completing the creation of

new zones.





PARAMETERS

-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the command.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Force [<SwitchParameter>]

By default, the command will not publish the zone if there are no pending zone changes.



In the case of adding a new zone, Dyn does not see it as a change to the zone. Using the -Force parameter will

publish the zone.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Notes <String>

Record any notes for the publication of this zone version, such as a reference number or short text describing

why the changes occurred.



The text REST-Api-PoSh will be prepended before adding to the zone change record. If the Notes parameter is

omitted, the Notes field will only contain REST-Api-PoSh .



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the command runs. The command is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Zone <String>

Publish pending changes to the specified zone.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

DynDnsZone







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Publish-DynDnsZoneChanges -Zone anovelidea.org -Notes 'Add new record to zone.' -Force -Confirm:$false

WARNING: There are no pending zone changes.



Zone SerialNumber SerialStyle Type

---- ------------ ----------- ----

anovelidea.org 2018091400 day Primary



Publish the zone changes for the initial creation of a zone.

-------------------------- Example 2 --------------------------



PS C:\\> Publish-DynDnsZoneChanges -Zone anovelidea.org -Notes 'Initial creation of zone.' -Force -Confirm:$false

WARNING: There are no pending zone changes.



Zone SerialNumber SerialStyle Type

---- ------------ ----------- ----

anovelidea.org 2018091400 day Primary



Publish the zone changes to the zone.



RELATED LINKS

Online Version: https://powershell.anovelidea.org/modul ... anges.html

Get-DynDnsZoneChanges https://powershell.anovelidea.org/modul ... anges.html

Undo-DynDnsZoneChanges https://powershell.anovelidea.org/modul ... anges.html

Update Zone (API) https://help.dyn.com/update-zone-api/