How to remove group memberships from users who are disabled ?

Dear All,

I work now on AD Accounts review, i have some 100 disabled AD accounts, all of these accounts are in a specific organization unit nammed Disabled Users.

Now, my question is, how we can remove group memeberships from all users who are disabled ?

Best regards,

Nassim