# How to Create a Script to "Bulk Remove" from a Group?

**URL:** <https://meta.discourse.org/t/how-to-create-a-script-to-bulk-remove-from-a-group/56614>\
**Category:** Product Support\
**Created:** [January 30, 2017, 8:45pm UTC](https://meta.discourse.org/t/how-to-create-a-script-to-bulk-remove-from-a-group/56614 "2017-01-30T20:45:36Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Vishal.Kshirsagar](https://avatars.discourse-cdn.com/v4/letter/v/2bfe46/32.png) [@Vishal.Kshirsagar](https://meta.discourse.org/u/Vishal.Kshirsagar)\
**Post date:** [November 14, 2021, 7:20am UTC](https://meta.discourse.org/t/how-to-create-a-script-to-bulk-remove-from-a-group/56614/6 "2021-11-14T07:20:14Z")

</div>

Hi @Selk68 @pfaffman Hi, I am looking for a solution to remove bulk users. I understand this can be done by scripting. Can you please share more details on how to run the script on the platform? Or this is something that can be done by a developer only.

Also, I read about AD. Can you please share how it works and how we can sync AD with Discourse?  
Thank you.

---

_[View the full topic](https://meta.discourse.org/t/how-to-create-a-script-to-bulk-remove-from-a-group/56614)._
