■ $PSVersionTable 환경 변수를 사용해 파워셸 버전 구하기

------------------------------------------------------------------------------------------------------------------------

 

PS C:\> $PSVersionTable

 

Name                           Value

----                           -----

PSVersion                      5.1.17134.590

PSEdition                      Desktop

PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}

BuildVersion                   10.0.17134.590

CLRVersion                     4.0.30319.42000

WSManStackVersion              3.0

PSRemotingProtocolVersion      2.3

SerializationVersion           1.1.0.1

 

------------------------------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker

댓글을 달아 주세요