I wanted to delegate the task of deleting user profiles to our helpdesk, but with a number of remote desktop session host servers it started getting quite long to check each one and delete the folders one by one.
So I decided to write a script which the helpdesk could run. The script uses PowerShell and WMI queries, to scan all the servers I want, then list all the profiles that existing in a GUI interface. They can then pick the user, click delete, and it deletes the profile folder off all servers.
I've uploaded the script to the galleries (and my blog) should anyone want to use it.
http://gallery.technet.microsoft.com/Delete-user-profiles-over-05348eef
All the best
Denis
Regards,
Denis Cooper
MCITP EA - MCT
Help keep the forums tidy, if this has helped please mark it as an answer
LinkedIn: