Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Remove-AzureWebsite

Remove-AzureWebsite

microsoft.windowsazure.commands.dll

Synopsis

Remove the specified azure website

Syntax

Remove-AzureWebsite [-Force] [-Name] [-Slot] [<CommonParameters>]

Detailed Description

Remove the specified azure website

Parameters

-Force <SwitchParameter>

If specified, bypass confirmation prompts and delete the specified website

Aliases

None

Required?

false

Position

named

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Name <String>

The name of the website to delete

Aliases

None

Required?

false

Position

1

Default value

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Slot <String>

The website slot name

Aliases

None

Required?

false

Position

Default value

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------- Remove Current Website --------------

C:\PS>

Remove the azure website associated with the current directory

Remove-AzureWebsite

-------------- Remove Website Silently --------------

C:\PS>

Delete the Azure website named 'mySite' without prompting for confirmation

Remove-AzureWebsite -Name mySite -Force

-------------- Remove Website Slot --------------

C:\PS>

Remove the azure website slot with name staging for website MyWebsite

Remove-AzureWebsite -Name MyWebsite -Slot staging

New-AzureWebsite
Get-AzureWebsite
Start-AzureWebsite
Stop-AzureWebsite