Specifies a key word or XSL file name to format the data.įull set of properties. The translation tables BasicXml and NoComma are included with WMIC. Translate the output using the translation table named by the command. Output is formatted with each value listed on a separate line and with the name of the property. DELETE can be used to delete a class.Įxample: PROCESS WHERE NAME="CALC.EXE" DELETE GET CREATE can't be used to create a new class.Įxample: ENVIRONMENT CREATE NAME="TEMP" VARIABLEVALUE="NEW" DELETEĭeletes the current instance or set of instances. CREATEĬreates a new instance, and sets the property values. For example, SERVICE WHERE CAPTION='TELNET' CALL /? lists the available functions for the service class. To determine the methods available for a given class, use /?. Returned endpoints must be associated with the source through the specified class, or one of its derived classes.Įxample: SERVICE WHERE CAPTION='TELNET' CALL STARTSERVICE Returned endpoints must play a specific role in associations with the source object. Returned endpoints associated with the source object must belong to, or be derived from the specified class. The ASSOC verb has the following switches. By default the output is returned in HTML format. When ASSOC is used with an alias, the classes with the class underlying the alias are returned. The results are instances associated with the object. Returns the result of the Associators of () query where is the path of objects returned by the PATH or CLASS commands. Most aliases support the following verbs. If an alias doesn't support a verb, you receive the message "provider is not capable of the attempted operation." For more information, see WMIC verbs. To use verbs in WMIC, enter the alias name followed by the verb. For a list of available switches, see WMIC switches. SwitchĪ switch is a WMIC option that you can set globally or optionally. You can also determine the aliases for a specific class using the /? command. You can determine what aliases are available for WMIC through the /? command. AliasĪn alias is a friendly renaming of a class, property, or method that makes WMI easier to use and read. For more information and guidelines on how to use WMIC, including additional information on aliases, verbs, switches, and commands, see Using Windows Management Instrumentation command-line and WMIC-take command-line control over WMI. The following is a general reference topic for WMIC. WMIC is compatible with existing shells and utility commands. The WMI command-line (WMIC) utility provides a command-line interface for Windows Management Instrumentation (WMI). ![]() Also see Windows 10 features we're no longer developing. ![]() This deprecation applies only to the WMI command-line (WMIC) utility Windows Management Instrumentation (WMI) itself is not affected. This utility is superseded by Windows PowerShell for WMI (see Chapter 7-Working with WMI). The WMI command-line (WMIC) utility is deprecated as of Windows 10, version 21H1, and as of the 21H1 semi-annual channel release of Windows Server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |