This command is an alias of rmdir on Command Prompt, and subsequently Remove-Item in PowerShell.
rmdir
Remove-Item
tldr rmdir
tldr remove-item