I have quite a few folders that I need to delete in a directory. I currently have list of folder names to which require deletion. I was wondering if there was a scripting way if I could have say a text list, either csv,txt or similar that could be read and folders deleted accordingly?
A background story behind this.. I had a folder hit by a virus revently. Fortunatley, not all folders were affected. With the help of experts from EE, I've managed to export the folder contents into a list (csv) using Powershell and have analysed the data. I'am now left with names of the folders that have been affected.
Any assistance would be greatly appreciated.