Merge pull request #769 from autosysops/Lab3c-Fix_Powershell_Parameter

Replace incomplete PowerShell parameter from Lab3c
This commit is contained in:
staleycyn 2023-09-07 09:18:01 -07:00 committed by GitHub
commit 915517c845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ In this task, you will create a resource group and an Azure managed disk by usin
-Location $location `
-CreateOption Empty `
-DiskSizeGB 32 `
-Sku Standard_LRS
-SkuName Standard_LRS
$diskName = 'az104-03c-disk1'
@ -115,7 +115,7 @@ In this task, you will be managing the configuration of the Azure managed disk b
1. To change the disk performance SKU to **Premium_LRS**, from the PowerShell session within Cloud Shell, run the following:
```powershell
New-AzDiskUpdateConfig -Sku Premium_LRS | Update-AzDisk -ResourceGroupName $rgName -DiskName $diskName
New-AzDiskUpdateConfig -SkuName Premium_LRS | Update-AzDisk -ResourceGroupName $rgName -DiskName $diskName
```
1. To verify that the change took effect, run the following: