Add Remove AD group users

Roger Roger 4,951 Reputation points
2022-05-10T15:50:10.59+00:00

Hi All

i have an AD group lets say group1. i want to give permission to user1 to add and remove users from PowerShell.. how can i give the permission from PowerShell. From GUI i can give in the below format. group1-security-advanced-Write Members. please guide me.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,441 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,367 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,525 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,814 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 39,336 Reputation points
    2022-05-11T03:27:11.437+00:00

    Hello @Roger Roger

    yes, this is possible and here I could provide you with the following official Microsoft guide to Remove-ADGroupMember with Powershell:

    https://learn.microsoft.com/en-us/powershell/module/activedirectory/remove-adgroupmember?view=windowsserver2022-ps

    Hope this helps with your query,

    ---------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

0 additional answers

Sort by: Most helpful