Skip to content

Commit

Permalink
Update Add-LocalGroupMember.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler committed Oct 18, 2023
1 parent 4614b3a commit 62a0598
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ accounts from that domain and from trusted domains to a local group.

### Example 1: Add members to the Administrators group

This command adds several members to the local Administrators group. The new members include a local user account, a Microsoft account, a Microsoft Entra account, and a domain group. This
example uses a placeholder value for the user name of an account at Outlook.com.
This command adds several members to the local Administrators group. The new members include a local
user account, a Microsoft account, a Microsoft Entra account, and a domain group. This example uses a
placeholder value for the user name of an account at Outlook.com.

```powershell
Add-LocalGroupMember -Group "Administrators" -Member "Admin02", "MicrosoftAccount\[email protected]", "AzureAD\[email protected]", "CONTOSO\Domain Admins"
Expand Down

0 comments on commit 62a0598

Please sign in to comment.