mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-06 00:29:08 +00:00
Update LAB_01-Manage_Entra_ID_Identities.md
This commit is contained in:
parent
e3d541cf73
commit
aa1fc183c3
@ -183,18 +183,18 @@ In this task, you use Azure PowerShell to create a group account and add a membe
|
|||||||
|
|
||||||
1. Azure PowerShell uses a *Verb*-*Noun* format for commands. For example, the command to create a new group account is **New-AzureADGroup**. To view how to use a command, run the Get-Help command.
|
1. Azure PowerShell uses a *Verb*-*Noun* format for commands. For example, the command to create a new group account is **New-AzureADGroup**. To view how to use a command, run the Get-Help command.
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
Get-Help New-AzureADGroup -detailed
|
Get-Help New-AzureADGroup -detailed
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Using the example in the Help, try these commands. Notice you must first connect to Azure AD. Notice that the commands starting with a dollar sign ($) are creating variables.
|
1. Using the example in the Help, try these commands. Notice you must first connect to Azure AD. Notice that the commands starting with a dollar sign ($) are creating variables.
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
$displayName = "MyPSgroup"
|
$displayName = "MyPSgroup"
|
||||||
$mailNickName = "MyPSgroup"
|
$mailNickName = "MyPSgroup"
|
||||||
Connect-AzureAD
|
Connect-AzureAD
|
||||||
New-AzureADGroup -DisplayName $displayName -MailEnabled $false -SecurityEnabled $true -MailNickName $mailNickName
|
New-AzureADGroup -DisplayName $displayName -MailEnabled $false -SecurityEnabled $true -MailNickName $mailNickName
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Use **Get-AzureADGroup** to confirm your group was created. Make note of the **DisplayName**, you will need it a future step.
|
1. Use **Get-AzureADGroup** to confirm your group was created. Make note of the **DisplayName**, you will need it a future step.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user