This article has not been completed yet. However, it may already contain helpful information and therefore it has been published at this stage.


# German:
Get-LocalGroupMember -Group "Administratoren"

# English
# Get-LocalGroupMember -Group "Administrators"

# Add a local user to the local administrator group
Add-LocalGroupMember -Group "Administratoren" -Member "TOMHOMEDESK\LokalAdmin"

# Check the result:
Get-LocalGroupMember -Group "Administratoren"



Powershell Script to Add a User to a Local Admin Group
In this blog post, I cover adding user accounts and groups to the local administrator group using Powershell.