< Back

Undo-DynDnsZoneChanges

Sat Jan 18, 2020 8:16 pm

NAME Undo-DynDnsZoneChanges



SYNOPSIS

The Undo-DynDnsZoneChanges deletes changes to the specified zone that have been created during the current

session, but not yet published to the zone.





SYNTAX

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





DESCRIPTION

The Undo-DynDnsZoneChanges deletes changes to the specified zone that have been created during the current

session, but not yet published to the zone.





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>]

Perform the operation regardless is there are pending zone changes.



Required? false

Position? named

Default value False

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>

Delete 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

None







NOTES









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



PS C:\\> Undo-DynDnsZoneChanges -Zone anovelidea.org -Confirm:$false





user_id : 389641

zone : anovelidea.org

rdata_type : A

fqdn : www3.anovelidea.org

rdata : @{rdata_kx=; rdata_srv=; rdata_policy=; rdata_soa=; rdata_key=; rdata_ipseckey=; rdata_cname=;

rdata_caa=; rdata_loc=; rdata_spf=; rdata_ptr=; rdata_alias=; rdata_ds=; rdata_naptr=; rdata_sshfp=; rdata_aaaa=;

rdata_nsap=; rdata_dhcid=; rdata_dnskey=; rdata_cds=; rdata_txt=; rdata_ns=; rdata_dname=;

rdata_csync=; rdata_px=; rdata_a=; rdata_cert=; rdata_rp=; rdata_tlsa=; rdata_mx=; rdata_cdnskey=}

ttl : 3600

serial : 2018091702

id : 516095367



Delete the pending changes for the specified zone.

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



PS C:\\> Undo-DynDnsZoneChanges -Zone anovelidea.org -Confirm:$false -Force -Verbose

VERBOSE: API-3.7.11 : INFO : BLL : publish: You have not made any changes to this zone

WARNING: There are no pending zone changes.

VERBOSE: -Force switch used.

VERBOSE: Performing the operation "discard zone changes" on target "anovelidea.org".

VERBOSE: API-3.7.11 : INFO : BLL : discard: 0 zone changes discarded



Delete the pending changes for the specified zone, showing when no changes are pending.



RELATED LINKS

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

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

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

Delete Zone ChangeSet (API) https://help.dyn.com/delete-zone-change-set-api/