Recall & Review
beginner
What cmdlet is used to create a new local group in PowerShell?The cmdlet <code>New-LocalGroup</code> is used to create a new local group on a Windows machine.Click to reveal answer
beginner
How do you add a user to a local group using PowerShell?
Use
Add-LocalGroupMember -Group <GroupName> -Member <UserName> to add a user to a local group.Click to reveal answer
beginner
What cmdlet lists all members of a local group?The cmdlet <code>Get-LocalGroupMember -Group <GroupName></code> lists all members of the specified local group.Click to reveal answer
beginner
How can you remove a user from a local group in PowerShell?
Use
Remove-LocalGroupMember -Group <GroupName> -Member <UserName> to remove a user from a local group.Click to reveal answer
intermediate
What is the difference between a local group and a domain group?
A local group exists only on a single computer and manages permissions on that machine. A domain group is managed centrally in Active Directory and can control access across multiple computers in a network.
Click to reveal answer
Which cmdlet creates a new local group in PowerShell?
✗ Incorrect
New-LocalGroup creates a new local group. The others manage members.
How do you add a user named 'Alice' to a group named 'Admins'?
✗ Incorrect
Add-LocalGroupMember adds a user to a group.
Which cmdlet shows all members of a local group?
✗ Incorrect
Get-LocalGroupMember lists group members.
What cmdlet removes a user from a local group?
✗ Incorrect
Remove-LocalGroupMember removes a user from a group.
Which statement is true about domain groups?
✗ Incorrect
Domain groups control access across many computers in a network.
Explain how to create a local group and add a user to it using PowerShell.
Think about the cmdlets that manage groups and members separately.
You got /3 concepts.
Describe the difference between local groups and domain groups.
Consider where the groups are managed and their scope.
You got /3 concepts.