< Back

Lock-DynDnsZone

Sat Jan 18, 2020 8:15 pm

NAME Lock-DynDnsZone



SYNOPSIS

The Lock-DynDnsZone command prevents other users from making changes to the zone.





SYNTAX

Lock-DynDnsZone [-Zone] <String> [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Lock-DynDnsZone command prevents other users from making changes to the zone.



The Dyn term for locking a zone is freeze.





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



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

The zone to lock, or freeze.



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



PS C:\\> Lock-DynDnsZone -Zone anovelidea.org -Confirm:$false -Verbose

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

VERBOSE: API-3.7.11 : INFO : BLL : freeze: Your zone is now frozen



Lock the specified zone.



RELATED LINKS

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

Unlock-DynDnsZone https://powershell.anovelidea.org/modul ... sZone.html

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

Freeze / Unfreeze Zone (API) https://help.dyn.com/freeze-unfreeze-zone-api/