mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-06 08:39:08 +00:00
Merge pull request #769 from autosysops/Lab3c-Fix_Powershell_Parameter
Replace incomplete PowerShell parameter from Lab3c
This commit is contained in:
commit
915517c845
@ -74,7 +74,7 @@ In this task, you will create a resource group and an Azure managed disk by usin
|
|||||||
-Location $location `
|
-Location $location `
|
||||||
-CreateOption Empty `
|
-CreateOption Empty `
|
||||||
-DiskSizeGB 32 `
|
-DiskSizeGB 32 `
|
||||||
-Sku Standard_LRS
|
-SkuName Standard_LRS
|
||||||
|
|
||||||
$diskName = 'az104-03c-disk1'
|
$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:
|
1. To change the disk performance SKU to **Premium_LRS**, from the PowerShell session within Cloud Shell, run the following:
|
||||||
|
|
||||||
```powershell
|
```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:
|
1. To verify that the change took effect, run the following:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user