PowerShell, Sistema de archivos PowerShell Get-ChildItem D:\prueba | %{if(Get-Content $_.FullName | Select-String "borrar"){Remove-Item $_.FullName -WhatIf}} 1 Get-ChildItem D:\prueba | %{if(Get-Content $_.FullName | Select-String "borrar"){Remove-Item $_.FullName -WhatIf}}