# 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:** 3

<div class="post-metadata">

**Author:** ![Selk68](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/selk68/32/67080_2.png) [@Selk68](https://meta.discourse.org/u/Selk68)\
**Post date:** [January 31, 2017, 12:02am UTC](https://meta.discourse.org/t/how-to-create-a-script-to-bulk-remove-from-a-group/56614/3 "2017-01-31T00:02:55Z")

</div>

Thanks for taking the time to help, @pfaffman!

The reason we export the CVS daily is because we do not have our forum tied directly into our AD accounts. It was setup like that to allow anyone to register for an account on our forum. Even though we do not have our discourse instance tied into Active Directory authentication, will the API be able to pull the information from AD? (_I was previously advised by some who do most of the developing for our forum that it would be best to have the active accounts exported from AD, then imported into the custom group… I am open to other options though._).

Thanks again!  
😃

---

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