2.2.10 Options for CIM/WMI Operations with PowerShell Semantics
The following table lists the options that influence the behavior of the client and server when the client is initiating CIM operations. The Option Name column contains the string that is used for the "Name" attribute of the wsmanwsman:Option element, while the Option Type column contains the string that is used for the Type attribute of the wsman:Option element.
The processing of these options by the server still follows the rules specified in section 3.1.4.1.10. Additional processing rules are specified in section 3.1.4.1.26.
Option Name |
Option Type |
---|---|
wmi:__MI_CallbackRegistration |
xs:init |
wmi:__MI_OPERATIONOPTIONS_CHANNEL |
xs:init |
wmi:__MI_OPERATIONOPTIONS_WRITEERRORMODE |
xs:init |
wmi:__MI_OPERATIONOPTIONS_PROMPTUSERMODE |
xs:init |
wmi:__MI_OPERATIONOPTIONS_PROMPTUSERMODEREGULAR_ACKVALUE |
xs:boolean |
The options have the following semantics.
wmi:__MI_CallbackRegistration: This option MUST be a combination of zero or more of the following flags.
-
Flag
Description
0x00000001
The client registered to receive Debug or Warning or Verbose messages.
0x00000002
The client registered to receive Error messages.
0x00000004
The client registered to receive streamed responses to CIM method invocations.
0x00000008
The client registered to receive Progress messages.
0x00000010
The client registered to receive Confirm messages.
-
If multiple instances of this option appear in a message, the recipient MUST treat them as a single option with the values combined by the bitwise-OR operator.
wmi:__MI_OPERATIONOPTIONS_CHANNEL: This option can have any of the following values.
-
Value
Description
0
Interactive messages from the server will be interpreted as Warning messages.
1
Interactive messages from the server will be interpreted as Verbose messages.
2
Interactive messages from the server will be interpreted as Debug messages.
-
If this option is omitted, the default value is 0x07. If multiple instances of this option appear in a message, the recipient MUST treat them as a single option containing all the specified values.
wmi:__MI_OPERATIONOPTIONS_WRITEERRORMODE: This option can have any of the following values:
-
Value
Description
0
The server will send Error messages to the client, but the client will not be able to influence further processing of the operation.
1
The server will send Error messages to the client and will send Confirm messages so the client can determine whether processing will continue.
-
If this option is omitted, the default value is 0.
wmi:__MI_OPERATIONOPTIONS_PROMPTUSERMODE: This option can have any of the following values.
-
Value
Description
0
"Report." The server will send Confirm messages to the client, but the client will not be able to influence further processing of the operation.
1
"Inquire." The server will send Confirm messages to the client and will wait for the client to determine whether processing will continue.
2
"Ignore." The server will not send confirm messages to the client and will automatically answer to the server-side prompts.
-
If this option is omitted, the default value is 1, "Inquire".
wmi:__MI_OPERATIONOPTIONS_PROMPTUSERMODEREGULAR_ACKVALUE: This option specifies the answer to the server-side prompt requests.
-
Value
Description
false
The server SHOULD answer No automatically to all prompt requests.
true
The server SHOULD answer Yes automatically to all prompt requests.
-
If this option is omitted, the server will follow the behavior as specified in section 3.1.6.8 for the __MI_OPERATIONOPTIONS_PROMPTUSERMODE option.