This command is an alias of rmdir on Command Prompt, and subsequently Remove-Item in PowerShell. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/rd.
rmdir
Remove-Item
tldr rmdir
tldr remove-item