Remove-AzureService

Removes the current cloud service.

Syntax

Remove-AzureService [[-ServiceName] <String>] [-Force] [-DeleteAll] [-Confirm] [-PassThru]
 [-Profile <AzureSMProfile>] [-WhatIf] [<CommonParameters>]

Description

powershell_prelim

The Remove-AzureService cmdlet stops and removes the current cloud service, or the service matching the specified service and subscription name.

Examples

1:

Parameters

-ServiceName

Specifies the name of the service to be removed. If the command is run from a service directory and no name is specified, uses the current service name.

Type:String
Required:False
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Force

Removes the service without prompting for confirmation.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DeleteAll

Specify to remove the service and the underlying disk blob(s).

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-PassThru
Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Profile

In-memory profile.

Type:AzureSMProfile
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False