2016年12月22日

【PowerShell】PowerShellのバージョンを確認する


PowerShellのバージョンを確認するには、$PSVersionTableを使います。

PS C:\work> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14393.576
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.576
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1



スポンサーリンク