更新时间:2023-02-22 12:03:46
如果你的shell是在.NET 4.0(PowerShell的3.0)运行:
If you're shell is running on .NET 4.0 (PowerShell 3.0):
PS> [Environment]::Is64BitProcess True
确定是否当前PowerShell进程是32位还是64位?