I have a bad habit of providing options at the end of the command:
and since I use Tab to autocomplete the path in powershell, it will add trailing backslash, and will interpret the -rf as part of the path.
rm: cannot remove '.\some-directory\ -rf': No such file or directory
It works fine if I removed the trailing backslash.