Monday, March 9, 2015

Removing Azure Subscription in PowerShell

 

imported a Azure Subscription while I was doing a test environment.  Prior to this there was an Azure Subscription that was earlier established already.

I use the following command to list it in summary

Get-AzureSubscription | ft SubscriptionName, SubscriptionID, IsDefault –AutoSize

It displayed the following :

image 

I have remove the Subscription Name of “MSDN Platforms

Remove-AzureSubscription “Name of subscription

* replace the subscription name in yellow. Command in green stays.

image

Key in the PowerShell command to check.  Now the Azure Subscription that I wanted is established.

Get-AzureSubscription | ft SubscriptionName, SubscriptionID, IsDefault –AutoSize

image

keynote : Azure, removing AzureSubscription, removing Azure Subscription in powershell, PowerShell,