Remove-SCACAzureSubscription
Applies To: System Center 2012 R2 App Controller
Remove-SCACAzureSubscription
Removes a Windows Azure subscription from App Controller.
Syntax
Parameter Set: Default
Remove-SCACAzureSubscription [-Subscription] <ACAzureSubscriptionCloud> [-PassThru] [ <CommonParameters>]
Detailed Description
The Remove-SCACAzureSubscription cmdlet removes a Windows Azure subscription from App Controller.
Parameters
-PassThru
Returns a Windows Azure subscription object. By default, this cmdlet does not generate output.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Subscription<ACAzureSubscriptionCloud>
Specifies a Windows Azure subscription object. To retrieve a subscription object, use the Get-SCACAzureSubscription 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.
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: Remove a Windows Azure subscription
The first command gets the Windows Azure subscription object named AzureSubscription01 and stores the object in the $Subscription variable.
The second command removes the Windows Azure subscription stored in $Subscription.
PS C:\> $Subscription = Get-SCACAzureSubscription –Name “AzureSubscription01”
PS C:\> Remove-SCACAzureSubscription –Subscription $Subscription