From fcb6009a020c68c45bce9c940f15107d7b579768 Mon Sep 17 00:00:00 2001 From: staleycyn <45440075+staleycyn@users.noreply.github.com> Date: Mon, 4 Dec 2023 11:11:45 -0800 Subject: [PATCH] Update LAB_01-Manage_Entra_ID_Identities.md --- .../Lab/LAB_01-Manage_Entra_ID_Identities.md | 24 +++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/New Instructions/Lab/LAB_01-Manage_Entra_ID_Identities.md b/New Instructions/Lab/LAB_01-Manage_Entra_ID_Identities.md index 2b23a9bd..f897d853 100644 --- a/New Instructions/Lab/LAB_01-Manage_Entra_ID_Identities.md +++ b/New Instructions/Lab/LAB_01-Manage_Entra_ID_Identities.md @@ -143,20 +143,30 @@ In this task, you work with the Azure Cloud Shell. Azure Cloud Shell is an inter 1. Continue working in the Cloud Shell. At anytime use **cls** to clear the command window. -1. Get a list of resource groups. +1. Azure PowerShell uses a *Verb*-*Noun* format for cmdlets. For example, the cmdlet to create a new resource group is **New-AzResourceGroup**. To view how to use the cmdlet, run the Get-Help command. ```powershell - Get-AzResourceGroup + Get-Help New-AzResourceGroup ``` -1. Get a list of group accounts. + + +1. To create a resource group from the PowerShell session within Cloud Shell, run the following commands. Note that the commands starting with a dollar sign ($) are creating variables that you can use in later commands. ```powershell - Get-Az + $location = 'eastus' + + $rgName = 'az104-rg-ps' + + New-AzResourceGroup -Name $rgName -Location $location + ``` + ![Screenshot of create resource group. ](../media/az104-lab03c-createrg.png) + +1. To retrieve properties of the newly created resource group, run the following command: + + ```powershell + Get-AzResourceGroup -Name $rgName ``` -1. Create a new resource group. - -1. Create a new group account. ## Practice with Bash