So we have a big list of users that are Disabled ( not locked out )
and we exported the into a txt file stored as:
Account type in the exported file is like: Firstname.Surname@domain.ltd.grp
Home folder current configuration is:
Connect P: \\userdatasrv\department-****\USERNAME\
I believe we need a loop script that should take the all the values from the txt file check if user's home folder still exists and then remove it
Can you advise if there is a script that can delete user's home folder ?
I found a similar request here...
http://powershell.com/cs/forums/t/17647.aspx