Update LAB_03c-Manage_Azure_Resources_by_Using_Azure_PowerShell.md

This commit is contained in:
staleycyn 2023-05-12 07:43:52 -07:00 committed by GitHub
parent c69020027a
commit bc4c0a1967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,13 +27,13 @@ In this lab, you will:
![image](../media/lab03c.png) ![image](../media/lab03c.png)
## Instructions ### Instructions
> **Note**: Always create your own secure password for any virtual machine or user account you create. If the virtual machine is created for you, use **Reset password** in the Portal to update the password. > **Note**: Always create your own secure password for any virtual machine or user account you create. If the virtual machine is created for you, use **Reset password** in the Portal to update the password.
### Exercise 1 ## Exercise 1
#### Task 1: Start a PowerShell session in Azure Cloud Shell ## Task 1: Start a PowerShell session in Azure Cloud Shell
In this task, you will open a PowerShell session in Cloud Shell. In this task, you will open a PowerShell session in Cloud Shell.
@ -47,7 +47,7 @@ In this task, you will open a PowerShell session in Cloud Shell.
1. Ensure **PowerShell** appears in the drop-down menu in the upper-left corner of the Cloud Shell pane. 1. Ensure **PowerShell** appears in the drop-down menu in the upper-left corner of the Cloud Shell pane.
#### Task 2: Create a resource group and an Azure managed disk by using Azure PowerShell ## Task 2: Create a resource group and an Azure managed disk by using Azure PowerShell
In this task, you will create a resource group and an Azure managed disk by using Azure PowerShell session within Cloud Shell In this task, you will create a resource group and an Azure managed disk by using Azure PowerShell session within Cloud Shell
@ -88,7 +88,7 @@ In this task, you will create a resource group and an Azure managed disk by usin
Get-AzDisk -ResourceGroupName $rgName -Name $diskName Get-AzDisk -ResourceGroupName $rgName -Name $diskName
``` ```
#### Task 3: Configure the managed disk by using Azure PowerShell ## Task 3: Configure the managed disk by using Azure PowerShell
In this task, you will be managing the configuration of the Azure managed disk by using Azure PowerShell session within Cloud Shell. In this task, you will be managing the configuration of the Azure managed disk by using Azure PowerShell session within Cloud Shell.
@ -122,11 +122,11 @@ In this task, you will be managing the configuration of the Azure managed disk b
(Get-AzDisk -ResourceGroupName $rgName -Name $diskName).Sku (Get-AzDisk -ResourceGroupName $rgName -Name $diskName).Sku
``` ```
#### Clean up resources ## Clean up resources
>**Note**: Do not delete resources you deployed in this lab. You will reference them in the next lab of this module. >**Note**: Do not delete resources you deployed in this lab. You will reference them in the next lab of this module.
#### Review ## Review
In this lab, you have: In this lab, you have: