Replace incomplete PowerShell parameter from Lab3c

This commit is contained in:
AutoSysOps (Leo Visser) 2023-09-07 16:45:57 +02:00 committed by GitHub
parent 5bf972d745
commit e3e7b068eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,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'
@ -113,7 +113,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: