< Back

Remove-GcdManagedZone

Mon Jan 13, 2020 11:35 pm

NAME Remove-GcdManagedZone



SYNOPSIS

Removes an existing Google DNS ManagedZone within a Project.





SYNTAX

Remove-GcdManagedZone [-Project <string>] [-Zone] <string> [-Force <SwitchParameter>] [<CommonParameters>]





DESCRIPTION

Deletes the specified ManagedZone (and returns nothing).



If a Project is specified, it will instead remove the specified ManagedZone from that project. The optional switch

-Force will force removal of even non-empty ManagedZones (e.g., zones with non-NS/SOA type records).





PARAMETERS

-Project <string>

Get the Project to check.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Zone <string>

Get the specific ManagedZone to delete (name or id permitted).



Required? true

Position? 0

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Name <string>

Get the specific ManagedZone to delete (name or id permitted).



This is an alias of the Zone parameter.



Required? true

Position? 0

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Id <string>

Get the specific ManagedZone to delete (name or id permitted).



This is an alias of the Zone parameter.



Required? true

Position? 0

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ManagedZone <string>

Get the specific ManagedZone to delete (name or id permitted).



This is an alias of the Zone parameter.



Required? true

Position? 0

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Force <SwitchParameter>

Force removal of even non-empty ManagedZones (e.g., zones with non-NS/SOA type records).



Required? false

Position? named

Default value False

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

System.String

Get the specific ManagedZone to delete (name or id permitted).





OUTPUTS



---------- EXAMPLE 1 ----------



PS C:\\> Remove-GcdManagedZone -Project "testing" -Zone "test1" -Force



Delete the (non-empty) ManagedZone "test1" from the Project "testing."



RELATED LINKS

[Managing Zones] (https://cloud.google.com/dns/zones/)

[Troubleshooting] (https://cloud.google.com/dns/troubleshooting)