Hi Guys,
new guy here in line with scripting... would you be so kind to help me to acquire a single script to delete profiles. with below requirement?
1. script should not remove any profiles starting with letter x- and y-
2. script should not remove administrator
3. compatible in 2008 r2 & windows 2003.
4. script should log-off any logged in user before removing profiles.
5. script should clean the profile entries in registry
6. have the script create a log file of the deleted profiles.