Featured image of post [PowerShell] 86. New-PSSession — 지속 세션 관리

[PowerShell] 86. New-PSSession — 지속 세션 관리

New-PSSession으로 원격 컴퓨터와의 연결을 여러 명령에 걸쳐 재사용하는 지속 세션을 만드는 법과 Get-PSSession/Remove-PSSession으로 관리하는 법, 85장 -ComputerName 방식과의 상태 유지 차이를 정리한 챕터다.

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 마지막 챕터다.