mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-09 02:17:04 +00:00
Update LAB_03c-Manage_Azure_Resources_by_Using_Azure_PowerShell.md
This commit is contained in:
parent
4fdca0563d
commit
af868557c1
@ -25,7 +25,7 @@ In this lab, you will:
|
|||||||
|
|
||||||
## Architecture diagram
|
## Architecture diagram
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Instructions
|
### Instructions
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ In this task, you will create a resource group and an Azure managed disk by usin
|
|||||||
```
|
```
|
||||||
>**Note**: If **az104-rg1** already exists, use a different name in the **$rgName** parameter.
|
>**Note**: If **az104-rg1** already exists, use a different name in the **$rgName** parameter.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
1. To retrieve properties of the newly created resource group, run the following command:
|
1. To retrieve properties of the newly created resource group, run the following command:
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ In this task, you will create a resource group and an Azure managed disk by usin
|
|||||||
-Disk $diskConfig
|
-Disk $diskConfig
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
1. To retrieve properties of the newly created disk, run the following command:
|
1. To retrieve properties of the newly created disk, run the following command:
|
||||||
|
|
||||||
@ -130,7 +130,7 @@ In this task, you will configure the Azure managed disk by using Azure PowerShel
|
|||||||
(Get-AzDisk -ResourceGroupName $rgName -Name $diskName).Sku
|
(Get-AzDisk -ResourceGroupName $rgName -Name $diskName).Sku
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
1. To change the disk performance SKU to **Premium_LRS**, from the PowerShell session within Cloud Shell, run the following command:
|
1. To change the disk performance SKU to **Premium_LRS**, from the PowerShell session within Cloud Shell, run the following command:
|
||||||
|
|
||||||
@ -144,10 +144,10 @@ In this task, you will configure the Azure managed disk by using Azure PowerShel
|
|||||||
(Get-AzDisk -ResourceGroupName $rgName -Name $diskName).Sku
|
(Get-AzDisk -ResourceGroupName $rgName -Name $diskName).Sku
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
>**Did you notice?** PowerShell cmdlets use common verbs such as **Get**, **New**, and **Update**. Cmdlets starting with **Get** are usually retrieving information about your configuration. Cmdlets starting with **New** are usually creating new resources. Cmdlets starting with **Update** are usually configuring existing resources.
|
>**Did you notice?** PowerShell cmdlets use common verbs such as **Get**, **New**, and **Update**. Cmdlets starting with **Get** are usually retrieving information about your configuration. Cmdlets starting with **New** are usually creating new resources. Cmdlets starting with **Update** are usually configuring existing resources.
|
||||||
|
|
||||||
## Review
|
## Review
|
||||||
|
|
||||||
Congratulations! You have successfully started an Azure Cloud Shell session, created a resource group by using PowerShell, created a managed disk by using PowerShell, and configured the managed disk by using PowerShell.
|
Congratulations! You have successfully started an Azure Cloud Shell session, created a resource group by using PowerShell, created a managed disk by using PowerShell, and configured the managed disk by using PowerShell.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user