Featured image of post [PowerShell] 90. Start-Process — 외부 프로그램 실행

[PowerShell] 90. Start-Process — 외부 프로그램 실행

Start-Process로 외부 프로그램을 새 프로세스로 실행하는 법과 -ArgumentList/-Wait/-NoNewWindow 매개변수, -Verb RunAs로 관리자 권한 상승하는 법, 기본적으로 아무 값도 반환하지 않아 -PassThru가 필요한 이유를 정리한 챕터다.

Featured image of post [PowerShell] 95. Get-Counter — 성능 카운터 조회

[PowerShell] 95. Get-Counter — 성능 카운터 조회

Get-Counter로 Windows 성능 모니터링 카운터를 조회하는 법과 -Counter 경로 문법, -SampleInterval/-Continuous/-MaxSamples로 시계열 샘플을 수집하는 법, CounterSamples 속성으로 실제 수치에 접근하는 법을 정리한 Part 12 마지막 챕터다.

Featured image of post [PowerShell] 98. Env: 드라이브와 환경 변수 관리

[PowerShell] 98. Env: 드라이브와 환경 변수 관리

PowerShell $Env: 드라이브로 환경 변수를 읽고 쓰는 법과 세션 범위 변경이 프로세스 범위에 그치는 이유, [Environment]::SetEnvironmentVariable로 영구 저장하는 법, 대소문자·구분자가 플랫폼마다 다른 함정을 정리한 챕터다.