Reset home folders

GiraffeIT have often been asked how to reset home folders. It can be quite time consuming if done manually on a range of users.

We have found, tested and sucessfully used the following scriptlet. Its a powershell script so dont forget to allow execution.