For system, network and cloud administrators
After an initial deployment, you might run into the need of changing the initial disk performance SKU in Azure. In the example below, we’re updating the SKU from Standard_LRS to Premium_LRS. In your PowerShell session type:
New-AzDiskUpdateConfig -Sku Premium_LRS | Update-AzDisk -ResourceGroupName yourresourcegroup -Name yourdiskname
It comes helpful to know how to update the size of a newly created disk in Azure. So, in your PowerShell session type:
New-AzDiskUpdateConfig -DiskSizeGB 64 | Update-AzDisk -ResourceGroupName yourresourcegroup -DiskName thenameofyourdisk
Verify:
Get-AzDisk -ResourceGroupName yourresourcegroup -Name thenameofyourdisk