"The Recurse parameter in this cmdlet does not work properly."
...
C:\PS>get-childitem * -include *.csv -recurse | remove-item
...
Because the Recurse parameter in this cmdlet is faulty, the command uses
the Get-Childitem cmdlet to get the desired files, and it uses the
pipeline operator to pass them to the Remove-Item cmdlet.
and yet this filed bug:
http://connect.microsoft.com/PowerShell/feedback/details/87456/remove-item-recurse-and-copy-item-recurse-exclude-not-acting-as-expected
is closed "As by Design"?
Hard to imagine that broken is genuinely by design. Do we need to
reopen a connect issue for this?
--
v(^_^)~Clint
http://outputredirection.blogspot.com
- Larry