I’m trying to come up with a script that will, on logoff, delete user profiles.
This is a lab environment and we normally use Deep Freeze but we’re trying to get away from that. The problem is student accounts accumulating. The user accounts all begin with ‘S’ and have 8 numerical digits after that – like S12345678. So, can anyone help with a script that will delete any user account starting with an ‘S’? Thanks for any help!