Merge pull request #39 from cdanvergara/patch-2

Update LAB_03c-Manage_Azure_Resources_by_Using_Azure_PowerShell.md
This commit is contained in:
polichtm 2020-04-10 07:31:39 -04:00 committed by GitHub
commit 07ad5303f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
- Configured the managed disk by using Azure PowerShell