< Back
Remove-AzureWebsite
Post
NAME Remove-AzureWebsite
SYNOPSIS
Remove the specified azure website
SYNTAX
Remove-AzureWebsite [-Force] [[-Name] <String>] [-Slot <String>] [<CommonParameters>]
DESCRIPTION
Remove the specified azure website
PARAMETERS
-Force
If specified, bypass confirmation prompts and delete the specified website
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
The name of the website to delete
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Slot <String>
The website slot name
Required? false
Position? Named
Default value
Accept pipeline input? true (ByPropertyName)
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
OUTPUTS
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, utilities
-------------- Remove Current Website --------------
C:\\PS>Remove-AzureWebsite
Remove the azure website associated with the current directory
-------------- Remove Website Silently --------------
C:\\PS>Remove-AzureWebsite -Name mySite -Force
Delete the Azure website named 'mySite' without prompting for confirmation
-------------- Remove Website Slot --------------
C:\\PS>Remove-AzureWebsite -Name MyWebsite -Slot staging
Remove the azure website slot with name staging for website MyWebsite
RELATED LINKS
New-AzureWebsite
Get-AzureWebsite
Start-AzureWebsite
Stop-AzureWebsite
SYNOPSIS
Remove the specified azure website
SYNTAX
Remove-AzureWebsite [-Force] [[-Name] <String>] [-Slot <String>] [<CommonParameters>]
DESCRIPTION
Remove the specified azure website
PARAMETERS
-Force
If specified, bypass confirmation prompts and delete the specified website
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
The name of the website to delete
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Slot <String>
The website slot name
Required? false
Position? Named
Default value
Accept pipeline input? true (ByPropertyName)
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
OUTPUTS
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, utilities
-------------- Remove Current Website --------------
C:\\PS>Remove-AzureWebsite
Remove the azure website associated with the current directory
-------------- Remove Website Silently --------------
C:\\PS>Remove-AzureWebsite -Name mySite -Force
Delete the Azure website named 'mySite' without prompting for confirmation
-------------- Remove Website Slot --------------
C:\\PS>Remove-AzureWebsite -Name MyWebsite -Slot staging
Remove the azure website slot with name staging for website MyWebsite
RELATED LINKS
New-AzureWebsite
Get-AzureWebsite
Start-AzureWebsite
Stop-AzureWebsite