共用方式為


Create a format in WMIC

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To create a format in WMIC

  1. Create an XSLT-formatted file using the XSL language (for example, MyNewFormat.xsl).

  2. Copy the file into the %WINDIR%\system32\wbem directory.

  3. Locate the xsl-mappings.xml file in the %WINDIR%\system32\wbem directory.

  4. Add an entry in the xsl-mappings.xml file which will map the format to Keyword:

    <XSLFORMAT KEYWORD="MyNewKeyword">MyNewFormat.xsl</XSLFORMAT>
    

Note

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Create translation table in WMIC
Running Windows Management Instrumentation Command-line
WMIC verbs
Security with WMIC