Add-LocalGroupMember - Add a user to the local group.
You can view the full list by running the following command: Get-Command -Module There are 15 cmdlets in the LocalAccounts module. Previously, you had to download and import it into PowerShell explicitly, and also install Windows Management Framework 5.1 in the Windows Server 2016 and Windows 10 operating systems, the cmdlet collection is included as a standard module. To help admins manage local users and groups with PowerShell more easily, Microsoft provides a cmdlet collection called.