script1 [PowerShell] 파워쉘 사용법 정리 1. 개요 - 윈도우에 파워쉘 ISE가 내장되어 있음 - 기본 OS 설치 시 별도의 IDE, 인터프리터, 가상머신 등을 설치하지 않고 간단한 기능들을 제작할 수 있음 2. ISE - 윈도우+R > Powershell 입력 > ISE 입력 후 엔터 3. 기본 골격 # Power Shell Script Example function Get-SecurityEvents { [CmdletBinding()] Param( [Parameter(Position=0,Mandatory=$True)] [string]$ComputerName, [int]$EventID = 4634 ) BEGIN { $LogName = Read-Host "로그 이름을 입력하세요." } PROCESS { Get-EventLog -ComputerNa.. 2021. 9. 22. 이전 1 다음