Azure PowerShell

A work in progress, brb…

 

Install-Module AzureRM
Install-AzureRM
Install-Module Azure
Import-AzureRM
Import-Module Azure

Get-AzurePublishSettingsFile
Import-AzurePublishSettingsFile “c:\thefile.publishsettings”
Get-AzureSubscription | Select-AzureSubscription
$something = Get-AzureDisk
$diskName = $something.DiskName
Update-AzureDisk -DiskName $diskName -ResizedSizeInGB 200 -Label “OS”

 

Some useful URLs for more information:

How to Install and Configure Azure PowerShell:
https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/

How to Resize an Azure Disk:
http://windowsitpro.com/azure/how-resize-azure-disk