Windows Shell Excluir arquivos com base no nome
Get-Childitem -path c:\path -Filter *.jpg -Recurse | where-object {$_.Name -ilike "*_bad*"} | Remove-Item -Force -WhatIf
Zany Zebra