Remove-SCACAzureSubscription

Remove-SCACAzureSubscription

Removes a Windows Azure subscription from .

Syntax

Parameter Set: Default
Remove-SCACAzureSubscription [-Subscription] <ACAzureSubscriptionCloud> [ <CommonParameters>]

Detailed Description

The Remove-SCACAzureSubscription function removes a Windows Azure subscription from .

Parameters

-Subscription<ACAzureSubscriptionCloud>

Specifies a Windows Azure subscription cloud object. To retrieve a cloud object, use the Get-SCACCloud cmdlet.

Aliases

none

Required?

true

Position?

1

Default Value

none

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.

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

The first command gets the cloud object named AzureSubscription01 and stores the object in the $Cloud variable.

The second command removes the Windows Azure subscription stored in $Cloud.

PS C:\> $Cloud = Get-SCACCloud | where { $_.Name –eq “AzureSubscription01” }
PS C:\> Remove-SCACAzureSubscription –Subscription $Cloud

Add-SCACAzureSubscription