This is one-liner simple and small active directory powershell script to add or remove AD groups members from text file or a single user, I have already written another few articles in this regards as you can find below.
Installing, importing and using any module in powershell
Powershell one li…