Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Disable/Enable AD account based on group membership

$
0
0

I'd love to be able to disable or re-enable AD accounts based on group membership. This is for a school district and parents must grant or revoke access to the Internet for their students. Based on their granting or revoking approval, I can add students to a group denoting the status. I'm no VB or PowerShell script genius, so I don't know if this is possible. If there is another way to accomplish the same thing, I'm open to anything. I just want to be able to disable an account when a parent revokes their student's access and re-enable it when they allow it without having to do it all manually.

Thanks!


Viewing all articles
Browse latest Browse all 15370


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>