Skip to content

Commit

Permalink
Update LAB_03c-Manage_Azure_Resources_by_Using_Azure_PowerShell.md
Browse files Browse the repository at this point in the history
  • Loading branch information
staleycyn authored Dec 4, 2023
1 parent 4fdca05 commit af86855
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ In this lab, you will:

## Architecture diagram

![image](./media/az104-lab03c-architecture-diagram.png)
![Diagram of the architecture.](../media/az104-lab03c-architecture-diagram.png)

### Instructions

Expand Down Expand Up @@ -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.
![image](./media/az104-lab03c-createrg.png)
![Screenshot of create resource group. ](../media/az104-lab03c-createrg.png)

1. To retrieve properties of the newly created resource group, run the following command:

Expand Down Expand Up @@ -98,7 +98,7 @@ In this task, you will create a resource group and an Azure managed disk by usin
-Disk $diskConfig
```

![image](./media/az104-lab03c-createdisk.png)
![Screenshot of create disk. ](../media/az104-lab03c-createdisk.png)

1. To retrieve properties of the newly created disk, run the following command:

Expand Down Expand Up @@ -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
```

![image](./media/az104-lab03c-updatesku.png)
![Screenshot of update sku.](../media/az104-lab03c-updatesku.png)

1. To change the disk performance SKU to **Premium_LRS**, from the PowerShell session within Cloud Shell, run the following command:

Expand All @@ -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
```

![image](./media/az104-lab03c-updatesku2.png)
![Screenshot of update sku final.](../media/az104-lab03c-updatesku2.png)

>**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

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.

0 comments on commit af86855

Please sign in to comment.