Remove-AzureService
TOC
Collapse the table of content
Expand the table of content

Remove-AzureService

Remove-AzureService

Removes the current cloud service.

Syntax

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




Detailed Description

This topic describes the cmdlet in the 0.8.10 version of the Microsoft Azure PowerShell module. To get the version of the module you're using, in the Azure PowerShell console, type (Get-Module -Name Azure).Version.

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

Parameters

-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: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

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.

Related topics

Show:
© 2016 Microsoft