The closest command in Powershell is:
try {
Remove-Item -Recurse -ErrorAction:Stop C:\some_directory
} catch [System.Management.Automation.ItemNotFoundException] {}
rm -rf in Unix means remove a file and also:
-r, -R, --recursive remove directories and their contents recursively
-f, --force ignore nonexistent files and arguments, never prompt
Remove-Item -Force is not the same as rm -f.
-Force Forces the cmdlet to remove items that cannot otherwise be changed, such as hidden or read-only files or read-only aliases or variables.
To demonstrate that -Force does not "ignore nonexistent files and arguments, never prompt", if I do rm -r -Force thisDirectoryDoesntExist, it results in this error:
rm : Cannot find path 'C:\thisDirectoryDoesntExist' because it does not exist.
A one-liner is rm -r -ErrorAction:SilentlyContinue, but this will throw away errors that are not does-not-exist errors.