Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: System Center 2012 - App Controller
Removes a Windows Azure subscription from App Controller.
Parameter Set: __AllParameterSets
Remove-SCACAzureSubscription [-AzureSubscription] <ACAzureSubscriptionCloud> [ <CommonParameters>]
The Remove-SCACAzureSubscription function removes a Windows Azure subscription from System Center 2012 - App Controller.
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 |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
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 –AzureSubscription $Cloud