mofcomp

マネージド オブジェクト形式 (MOF) コンパイラ

管理オブジェクト フォーマット (MOF) コンパイラ


mofcomp

  • C:\Windows\System32\Wbem\mofcomp.exe /?

Output:

Microsoft (R) MOF Compiler Version 10.0.19041.1
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

使用法: mofcomp [-check] [-N:<パス>]
               [-class:updateonly|-class:createonly]
               [-instance:updateonly|-instance:createonly]
               [-B:<ファイル名>] [-P:<パスワード>] [-U:<ユーザー名>]
               [-A:<機関>] [-WMI] [-AUTORECOVER]
               [-MOF:<パス>] [-MFL:<パス>] [-AMENDMENT:<ロケール>]
               [-ER:<リソース名>] [-L:<リソース ロケール>] 
               <MOF ファイル名>

   -check                    構文検査のみです。
   -N:<パス>                 既定では、この名前空間に読み込みます。
   -class:updateonly         新しいクラスを作成しません。
   -class:safeupdate         競合がない限りは更新します。
   -class:forceupdate        可能であれば競合を解決して更新します。
   -class:createonly         既存のクラスを変更しません。
   -instance:updateonly      新しいインスタンスを作成しません。
   -instance:createonly      既存のインスタンスを変更しません。
   -U:<ユーザー名>           ユーザー名です。
   -P:<パスワード>           ログイン パスワードです。
   -A:<機関>                 例: NTLMDOMAIN:Domain
   -B:<ファイル名>           バイナリ MOF ファイルを作成します。データベース
                             に追加しません。
   -WMI                      WDM (Windows Driver Model) を検査します。
                             -B スイッチが必要です。
   -AUTORECOVER              DB の復旧中にコンパイルされたファイルの一覧に
                             MOF を追加します。
   -Amendment:<ロケール>     ロケールが "MS_4??" のフォームである特有の
                             バージョンとニュートラル言語に MOF を分割します。
   -MOF:<パス>               ニュートラル言語の出力名です。
   -MFL:<パス>               固有言語の出力名です。
   -ER:<リソース名>          指定したリソースからバイナリ mof を展開します。
   -L:<リソース ロケール>    -ER スイッチの使用時におけるオプションの特定の
ロケール番号です。

   例 c:>mofcomp -N:root\default yourmof.mof
Microsoft (R) MOF Compiler Version 10.0.19041.1
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

usage: mofcomp [-check] [-N:<Path>]
               [-class:updateonly|-class:createonly]
               [-instance:updateonly|-instance:createonly]
               [-B:<filename>] [-P:<Password>] [-U:<UserName>]
               [-A:<Authority>] [-WMI] [-AUTORECOVER]
               [-MOF:<path>] [-MFL:<path>] [-AMENDMENT:<Locale>]
               [-ER:<ResourceName>] [-L:<ResourceLocale>] 
               <MOF filename>

   -check                    Syntax check only
   -N:<path>                 Load into this namespace by default
   -class:updateonly         Do not create new classes
   -class:safeupdate         Update unless conflicts exist
   -class:forceupdate        Update resolving conflicts if possible
   -class:createonly         Do not change existing classes
   -instance:updateonly      Do not create new instances
   -instance:createonly      Do not change existing instances
   -U:<UserName>             User Name
   -P:<Password>             Login password
   -A:<Authority>            Example: NTLMDOMAIN:Domain
   -B:<destination filename> Creates a binary MOF file, does not add to DB
   -WMI                      Do Windows Driver Model (WDM) checks, requires -B switch
   -AUTORECOVER              Adds MOF to list of files compiled during DB recovery
   -Amendment:<LOCALE>       splits MOF into language neutral and specific versions
                             where locale is of the form "MS_4??"
   -MOF:<path>               name of the language neutral output
   -MFL:<path>               name of the language specific output
   -ER:<ResourceName>        extracts binary mof from named resource
   -L:<ResourceLocale>       optional specific locale number when using -ER switch

   Example c:>mofcomp -N:root\default yourmof.mof

Return Code: 1


C:\Windows\System32\Wbem\mofcomp.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
FileInfo
File Size32768bytes
Creation Time2022/07/08 08:48:54
LastWrite Time2022/07/08 08:48:54
ProductVersion10.0.19041.1889
FileVersion10.0.19041.1889 (WinBuild.160101.0800)
HashValue
MD5a5b2b6f692d78b6c1d351c8dc0911162
SHA1926d366cb5e9f6f15f3e71581abd891cf2f18c3d
SHA224b824c1e051aa758196a9d44fce4caf459035a5435cdb1948a098f011
SHA2566e589d7d741587143526c36a5cad5791031d3c52d9e7e0dbfc39cd5c207f7b2f
SHA384a6a3cdf8041c31f02d9c93743d6b7e6cc1932b4ab566a6f7b5e22c95f37a338e24f754e4ba056cddb6c68a0366013da3
SHA51216a98f7aacde453c636ae458cde270c79cc273b377c14e27a51a1dd372af1b72e38fe147c17a23e181e45abcd253355c5e95d9321a156cbf42b48e1dd8170ed7
Built with Hugo
テーマ StackJimmy によって設計されています。