I need a script that will delete the profiles and user folders for all users that have logged into a machine except certain ones that are designated in the script.
Our use case is that my organization has a large room with 40 computers in it that visitors use for a full day and then are gone. Even if they don’t download or create a lot of files, there is still data usage. We deploy a bunch of micro pcs due to cost, so only have 50GB of storage overall.