< Back

Remove-DynDnsHttpRedirect

Sat Jan 18, 2020 8:15 pm

NAME Remove-DynDnsHttpRedirect



SYNOPSIS

The command Remove-DynDnsHttpRedirect deletes one or more existing HTTP Redirect services from the zone/node

indicated.





SYNTAX

Remove-DynDnsHttpRedirect [-DynDnsHttpRedirect] <DynDnsHttpRedirect[]> [-Confirm] [-PublishWait] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

The command Remove-DynDnsHttpRedirect deletes one or more existing HTTP Redirect services from the zone/node

indicated.





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



-DynDnsHttpRedirect <DynDnsHttpRedirect[]>

One or more DynDnsHttpRedirect objects obtained from the command Get-DynDnsHttpRedirect.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-PublishWait [<SwitchParameter>]

Indicates to wait to publish the deletion of the redirect service until the next zone change.



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



<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

DynDnsHttpRedirect[]







OUTPUTS

None







NOTES









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



PS C:\\> Get-DynDnsHttpRedirect -Zone anovelidea.org | Remove-DynDnsHttpRedirect

WARNING: This will autopublish the HTTP redirect deletion to the zone.





Zone : anovelidea.org

Name : myredirect.anovelidea.org

Url : http://www.anovelidea.org

ResponseCode : 301

IncludeUri : True





Confirm

Are you sure you want to perform this action?

Performing the operation "Delete HTTP redirect" on target "http://www.anovelidea.org".

[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y



Retrieve all HTTP redirects and delete the ones indicated.



RELATED LINKS

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

Get-DynDnsHttpRedirect https://powershell.anovelidea.org/modul ... irect.html

Get HTTP Redirect (API) https://help.dyn.com/get-http-redirect-api/

Delete HTTP Redirect (API) https://help.dyn.com/delete-http-redirect-api/