Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

PowerShell logo

PowerShell: Delete folders based on name

Posted 30th September 2015

3 comments

Use this simple script to delete any folders in a directory (or its subdirectories) that contain a particular string or strings.

Read the full story...