Return to Snippet

Revision: 40512
at February 3, 2011 02:44 by danfsmith


Initial Code
$todelete = Get-Content .\remove-files.txt
Get-ChildItem -recurse | Where-Object {$todelete -contains[io.path]::GetFileName($_)} | Remove-Item

Initial URL

                                

Initial Description

                                

Initial Title
Remove Items from list

Initial Tags

                                

Initial Language
Windows PowerShell