Update LAB_01-Manage_Entra_ID_Identities.md

This commit is contained in:
staleycyn 2023-12-04 11:11:45 -08:00 committed by GitHub
parent f86a3ee194
commit fcb6009a02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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