Windows users and group management

I want to create a cookbook for windows users management like it will delete users and groups in windows node except the set of users and groups which is in my cookbook attributes. and it will remove some users from existing group.