add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -0,0 +1,29 @@
# 获取命令
> 列出并获取当前 PowerShell 会话中的可用命令。
> 此命令只能通过 PowerShell 运行。
> 更多信息: <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/get-command>。
- 列出当前计算机上所有可用的 PowerShell 命令别名、cmdlet、函数
`Get-Command`
- 列出当前会话中所有可用的 PowerShell 命令:
`Get-Command -ListImported`
- 仅列出计算机上可用的 PowerShell 别名/cmdlet/函数:
`Get-Command -Type {{Alias|Cmdlet|Function}}`
- 仅列出当前会话中 PATH 上可用的程序或命令:
`Get-Command -Type Application`
- 按模块名称列出仅 PowerShell 命令,例如 `Microsoft.PowerShell.Utility` 用于与实用程序相关的命令:
`Get-Command -Module {{module}}`
- 通过命令名称获取命令信息(例如版本号或模块名称):
`Get-Command {{command}}`