Skip to content

Instantly share code, notes, and snippets.

View GabrieleCastellani's full-sized avatar

Gabriele Castellani GabrieleCastellani

View GitHub Profile
@GabrieleCastellani
GabrieleCastellani / Move-AzureVMInNewCS.ps1
Last active November 8, 2017 14:43
Moving an Azure Virtual Machines in a different Cloud Service with Poweshell [interactive]
#Open Azure Powershell
#Import your Azure Subscription
Add-AzureAccount
#Get the list of Azure Subscriptions
Get-AzureSubscription
#Select the azure Subscription of the Virtual Machines
Select-AzureSubscription "[SubscriptionName]"