Remove-Item -Recurse -Force some_dir
does indeed work as advertised here.
rm -r -fo some_dir
are shorthand aliases that work too.
As far as I understood it, the -Recurse
parameter just doesn’t work correctly when you try deleting a filtered set of files recursively. For killing a single dir and everything below it seems to work fine.