Hey Experts. I've tried putting together a PS script to delete user profiles that are not related to the default user accounts (local admin, etc). The environment is Win 7 Enterprise and will be applied to the training room computers which have been getting killed by user profiles eating up drive space. Your time/help is appreciated.
Just to add, one other way of doing it (which we have used successfully for many years) is to put a particular AD user group into the lab pc's local 'Guests' group ..... guest users profiles get deleted on logout ...
i.e on the client side run 'net localgroup guests domain\usergroup /add'
note: there might be some extra restrictions that are enforced onto the guests group ... but never caused any problems here ...