Files
tldr/pages.zh/common/powershell.md

13 lines
613 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# PowerShell
> 此命令可能被误认为是跨平台版本的 PowerShell以前称为 PowerShell Core该版本使用 `pwsh` 而不是 `powershell`。
> Windows 中的原始 `powershell` 命令仍然可用,以使用传统的 Windows PowerShell 版本5.1 及以下)。
> 更多信息:<https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_pwsh>。
- 查看有关最新跨平台版本 PowerShell版本 6 及以上)的命令文档:
`tldr pwsh`
- 查看有关传统 Windows PowerShell版本 5.1 及以下)的命令文档:
`tldr powershell -p windows`