Remove-AzureService

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Remove-AzureService

Removes the current cloud service.

Parameter Set: Default
Remove-AzureService [[-ServiceName] <String> ] [[-Subscription] <String> ] [[-Force]] [[-PassThru]] [-Confirm] [-WhatIf] [ <CommonParameters>]

This topic describes the cmdlet in the .6.19 version of the Windows Azure PowerShell module. To find out the version of the module you're using, from the Windows Azure PowerShell console, type (get-module azure).version.

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

-Force

Removes the service without prompting for confirmation.

Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PassThru

Aliases

none

Required?

false

Position?

4

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServiceName<String>

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.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Subscription<String>

Specifies the name of the subscription that was used to host the service. If no subscription is specified, uses the subscription specified in the last call to Set-AzureDeploymentSubscription. If no subscription has ever been specified, uses the first subscription in the current Windows Azure publish profile.

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet 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, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Publish-AzureServiceProject

Stop-AzureService

Start-AzureService