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,25 @@
# PSVersionTable
> 一个只读变量(如 `$PSVersionTable`),用于获取当前的 PowerShell 版本。
> 此命令只能在 PowerShell 中运行。
> 更多信息:<https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_automatic_variables#psversiontable>。
- 打印当前安装的 PowerShell 版本和版本的摘要:
`$PSVersionTable`
- 获取 PowerShell 的详细版本号(主版本、次版本、构建和修订):
`$PSVersionTable.PSVersion`
- 列出此 PowerShell 版本支持的所有 PowerShell 脚本版本:
`$PSVersionTable.PSCompatibleVersions`
- 获取当前安装的 PowerShell 版本所基于的最新 Git 提交 ID适用于 PowerShell 6.0 及更高版本):
`$PSVersionTable.GitCommitId`
- 检查用户是运行 PowerShell Core6.0 或更高版本还是原始的“Windows PowerShell”版本 5.1 或更低):
`$PSVersionTable.PSEdition`