2011. 1. 4. 17:08

PowerShell 를 이용한 이벤트로그 등록.


* PowerShell 를 이용한 이벤트로그 등록을 해보도록하겠습니다.
  
   새로운 이벤트 로그 등록은 New-Eventlog 를 통해서 등록할수 있습니다.
   Get-Help 를 통서 New-Eventlog 의 자세한 내용은 확인 할수 있습니다.

  new-eventlog -source TestEventlog -logname TestLog -MessageResourceFile C:\PowerShell\sourcecode.dll




  위와같이 등록이 완료되면 이벤트 뷰어 항목에서 확인이 가능합니다.