共用方式為


Edit a format in WMIC

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

To edit a format in WMIC

  1. Locate an existing XSLT format (an .xsl file) in the %WINDIR%\system32\wbem directory.

  2. Make the required changes and save.

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

  4. Modify the related entry in the xsl-mappings.xml file:

    <XSLFORMAT KEYWORD="MyModifiedKeyword">MyModifiedFormat.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. As a security best practice, consider using Run as 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 a format in WMIC
Running Windows Management Instrumentation Command-line
WMIC verbs
Security with WMIC