How can I manage temporary group membership for bulk of users using powershell? (input from csv or attribute)
Under the covers, what you are doing is scheduling the addition and removal of the member.
You use an Active Roles "control" with Add-QADGroupMember.
The tricky part is getting the time formatted correctly.
Here's an example: