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

@@ -1,32 +1,13 @@
# powershell
# PowerShell
> 专为系统管理而设计的命令行 shell 和脚本语言
> 更多信息:<https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_pwsh>.
> 此命令可能被误认为是跨平台版本的 PowerShell以前称为 PowerShell Core该版本使用 `pwsh` 而不是 `powershell`
> Windows 中的原始 `powershell` 命令仍然可用,以使用传统的 Windows PowerShell 版本5.1 及以下)。
> 更多信息:<https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_pwsh>。
- 在命令提示符窗口中启动 Windows PowerShell 会话
- 查看有关最新跨平台版本 PowerShell版本 6 及以上)的命令文档
`powershell`
`tldr pwsh`
- 加载一个特定的 PowerShell 控制台文件
- 查看有关传统 Windows PowerShell版本 5.1 及以下)的命令文档
`powershell -PSConsoleFile {{路径/file}}`
- 用指定版本的 PowerShell 启动会话:
`powershell -Version {{版本}}`
- 防止运行启动命令后 shell 退出:
`powershell -NoExit`
- 描述发送到 PowerShell 的数据格式:
`powershell -InputFormat {{Text|XML}}`
- 设定 PowerShell 输出的格式:
`powershell -OutputFormat {{Text|XML}}`
- 显示帮助:
`powershell -Help`
`tldr powershell -p windows`