Windows PowershellサポートTOPへ

Windows Powershellによるイベントログにイベントを入力する方法を紹介

イベントログにイベントを入力(イベントログのソースが必須)
※イベントログのソースの確認方法

サンプルソース


write-eventlog -logname Application -source "Application Error" -eventID 3001 -entrytype Information -message "MyApp added a user-requested feature to the display." -category 1 -rawdata 10,20


(出力)

なし



  

戻る




Copyright (C) Windows Powershellサポート by wannko All Rights Reserved.
お問合せ先 ⇒ nachiko★wannko.net(★を@に変更して下さい。)