windows/*: add PowerShell commands and aliases (#11227)

* windows/*: add PowerShell commands and aliases

* clear-host, new-item, remove-item: fix style

* psversiontable, remove-item: fix style

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
Reinhart Previano Koentjoro
2023-10-25 16:00:02 +07:00
committed by GitHub
parent 153b670288
commit bcdc05b986
19 changed files with 235 additions and 3 deletions

View File

@@ -1,8 +1,13 @@
# rmdir
> Remove a directory and its contents.
> In PowerShell, this command is an alias of `Remove-Item`. This documentation is based on the Command Prompt (`cmd`) version of `rmdir`.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/rmdir>.
- View the documentation of the equivalent PowerShell command:
`tldr remove-item`
- Remove an empty directory:
`rmdir {{path\to\directory}}`