From f410454331fee78fc0eb9d1f639d70dec44b2284 Mon Sep 17 00:00:00 2001 From: Cristian Vergara Date: Wed, 8 Apr 2020 11:18:44 -0400 Subject: [PATCH] Update LAB_03c-Manage_Azure_Resources_by_Using_Azure_PowerShell.md Added extra steps from lines 97-100 to validate the current SKU before the change. --- ...3c-Manage_Azure_Resources_by_Using_Azure_PowerShell.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Instructions/Labs/LAB_03c-Manage_Azure_Resources_by_Using_Azure_PowerShell.md b/Instructions/Labs/LAB_03c-Manage_Azure_Resources_by_Using_Azure_PowerShell.md index 75a82059..c9d66a57 100644 --- a/Instructions/Labs/LAB_03c-Manage_Azure_Resources_by_Using_Azure_PowerShell.md +++ b/Instructions/Labs/LAB_03c-Manage_Azure_Resources_by_Using_Azure_PowerShell.md @@ -94,6 +94,12 @@ In this task, you will managing configuration of the Azure managed disk by using Get-AzDisk -ResourceGroupName $rgName -Name $diskName ``` +1. To validate the current SKU as **Standard_LRS**, from the PowerShell session within Cloud Shell, run the following command: + + ```pwsh + New-AzDiskUpdateConfig -Sku Premium_LRS | Update-AzDisk -ResourceGroupName $rgName -DiskName $diskName + ``` + 1. To change the disk performance SKU to **Premium_LRS**, from the PowerShell session within Cloud Shell, run the following: ```pwsh @@ -116,4 +122,4 @@ In this lab, you have: - Started a PowerShell session in Azure Cloud Shell - Created a resource group and an Azure managed disk by using Azure PowerShell -- Configured the managed disk by using Azure PowerShell \ No newline at end of file +- Configured the managed disk by using Azure PowerShell