Skip to content
icodebroker
컴퓨터 프로그래밍 코드 데이터베이스
Menu
Home
PROGRAMMING
POWERSHELL
[POWERSHELL] Get-Command 명령 : 닷넷 프로그램 버전 구하기
[POWERSHELL] Get-Command 명령 : 닷넷 프로그램 버전 구하기
icodebroker
POWERSHELL
2024-06-18
■ 닷넷 프로그램 버전을 구하는 방법을 보여준다.
▶
실행 명령
실행 명령
Shell
(Get-Command d:\TestProject.exe).Version.ToString()
1
2
3
(
Get
-
Command
d
:
\
TestProject
.exe
)
.Version
.ToString
(
)
HELP
POWERSHELL
VERSION
← [POWERSHELL] Test-Path 명령 : -Path 스위치를 사용해 파일 존재 여부 구하기
[POWERSHELL] Remove-Item 명령 : -Path 스위치를 사용해 파일 삭제하기 →