Revision: 13262
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 16, 2009 12:21 by ericmorin21
Initial Code
Get-ChildItem -Path . -Include Thumbs.db -Recurse -Name -Force | Remove-Item -Force #-WhatIf
Initial URL
Initial Description
Powershell 1.0's Remove-Item recursion "doesn't work" according to the help, so you must find all instances with Get_ChildItem then pass the results to Remove-Item. Use th ecommented -"WhatIf" argument to determine what will be deleted before executing for real.
Initial Title
Use Powershell to remove all instances of thumbs.db in current tree
Initial Tags
Initial Language
Windows PowerShell