タグ

WMIに関するto4ojpのブックマーク (4)

  • Win32\_NTLogEvent class

    User Data type: string Access type: Read-only User name of the logged-on user when the event occurred. If the user name cannot be determined, this will be NULL. Remarks Optimizing Search Queries The way an event log query is constructed can have a huge impact on how long it takes WMI to process the query and return the requested information. This is not necessarily true of other managed objects. F

    Win32\_NTLogEvent class
    to4ojp
    to4ojp 2010/11/04
  • イベントログのバックアップ: 起死回生

    業務アプリケーションが運用に入ってトラブルが発生したとき、まず真っ先にやらなきゃならない事はログの収集ですよね。自分自身がログを取りにいけるようならいいのですが、遠隔地のお客さんだと現地の営業やお客様自身にログの収集を依頼しなければなりません。意外にこれが厄介な事で... アプリケーションログファイル自身もさることながら、イベントログの収集を依頼しようとするとアプリケーションの動作ユーザー権限ではスタートメニューのプログラムに「管理ツール」が表示されないとか、面倒くさい。 しまいには、イベントログファイルそのものをエクスプローラーでコピーして来られても困る。イベントログファイルって、そのままエクスプローラーでコピーしても、それをもらった方では開けないんですよねぇ、残念な事に。 ということで、イベントログを指定の場所にバックアップするユーティリティクラスを作成。これを利用して、アプリケーショ

  • Loading...

    to4ojp
    to4ojp 2010/11/02
  • WMI スクリプト入門 : 第 1 部

    Windows XP and Windows Server 2003 include many additional standard providers. For a complete list of standard providers, see the WMI Providers reference in the WMI Software Developers Kit (SDK) Documentation. CIMOM The CIMOM (pronounced see-mom) handles the interaction between consumers and providers. The term comes from the Web-Based Enterprise Management initiative and Common Information Model

    WMI スクリプト入門 : 第 1 部
  • 1