편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
1번째 줄: | 1번째 줄: | ||
;Determine installed PowerShell version | ;Determine installed PowerShell version | ||
;파워쉘 버전 확인 | ;파워쉘 버전 확인 | ||
==방법 1 | ==방법 1: host== | ||
<source lang='cli'> | |||
PS C:\Users\jmnote> host | findstr ^Version | |||
Version : 2.0 | |||
<source lang=' | |||
PS C:\Users\jmnote> host | findstr Version | |||
Version : | |||
</source> | </source> | ||
:→ 2.0 | |||
:→ <code>host</code> 대신 <code>$host</code> 또는 <code>get-host</code>를 써도 됨 | |||
==방법 | ==방법 2: $host.version ★== | ||
<source lang=' | <source lang='cli'> | ||
PS C:\Users\jmnote> $ | PS C:\Users\jmnote> $host.version | ||
Major Minor Build Revision | Major Minor Build Revision | ||
----- ----- ----- -------- | ----- ----- ----- -------- | ||
2 0 -1 -1 | |||
</source> | </source> | ||
:→ <code>$host.version</code> 대신 <code>(get-host).version</code>을 써도 됨 | |||
==같이 보기== | ==같이 보기== | ||
* [[윈도우 버전 확인]] | *[[윈도우 버전 확인]] | ||
* [[리눅스 bash 버전 확인]] | *[[리눅스 bash 버전 확인]] | ||
==참고== | ==참고 자료== | ||
*http://stackoverflow.com/questions/1825585/determine-installed-powershell-version | *http://stackoverflow.com/questions/1825585/determine-installed-powershell-version | ||
[[분류: PowerShell]] | [[분류: PowerShell]] | ||
[[분류:버전 | [[분류: 버전]] |