windows/*: add more PowerShell commands (#11612)

* windows/*: add more PowerShell commands

* get-commandL fix typo

* Update install-module.md

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
Reinhart Previano Koentjoro
2023-11-30 14:09:50 +07:00
committed by GitHub
parent 218768cb40
commit e44fd29d4c
7 changed files with 141 additions and 12 deletions

View File

@@ -1,28 +1,28 @@
# Get-Help
> Display help information and documentation for PowerShell commands, aka. cmdlets.
> Display help information and documentation for PowerShell commands (aliases, cmdlets, and functions).
> This command can only be run through PowerShell.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/get-help>.
- Display general help information for a specific cmdlet:
- Display general help information for a specific PowerShell command:
`Get-Help {{cmdlet}}`
`Get-Help {{command}}`
- Display a more detailed documentation for a specific cmdlet:
- Display a more detailed documentation for a specific PowerShell command:
`Get-Help {{cmdlet}} -Detailed`
`Get-Help {{command}} -Detailed`
- Display the full technical documentation for a specific cmdlet:
- Display the full technical documentation for a specific PowerShell command:
`Get-Help {{cmdlet}} -Full`
`Get-Help {{command}} -Full`
- Print only the documentation for a specific parameter of the cmdlet (use `*` to show all parameters), if available:
- Print only the documentation for a specific parameter of the PowerShell command (use `*` to show all parameters), if available:
`Get-Help {{cmdlet}} -Parameter {{parameter}}`
`Get-Help {{command}} -Parameter {{parameter}}`
- Print only the examples of the cmdlet, if available:
`Get-Help {{cmdlet}} -Examples`
`Get-Help {{command}} -Examples`
- List all available cmdlet help pages:
@@ -32,6 +32,6 @@
`Update-Help`
- View an online version of cmdlet documentation in the default web browser:
- View an online version of PowerShell command documentation in the default web browser:
`Get-Help {{cmdlet}} -Online`
`Get-Help {{command}} -Online`