1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//! WS-Management namespace URIs and protocol constants.
/// WinRS command shell resource URI.
pub const RESOURCE_URI_CMD: &str =
"http://schemas.microsoft.com/wbem/wsman/1/windows/shell/cmd";
/// PowerShell remoting plugin resource URI (the default PS configuration).
pub const RESOURCE_URI_PSRP: &str = "http://schemas.microsoft.com/powershell/Microsoft.PowerShell";
/// SOAP action for shell creation.
pub const ACTION_CREATE: &str = "http://schemas.xmlsoap.org/ws/2004/09/transfer/Create";
/// SOAP action for shell deletion.
pub const ACTION_DELETE: &str = "http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete";
/// SOAP action for command execution.
pub const ACTION_COMMAND: &str =
"http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Command";
/// SOAP action for output polling.
pub const ACTION_RECEIVE: &str =
"http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Receive";
/// SOAP action for signal delivery.
pub const ACTION_SIGNAL: &str =
"http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Signal";
/// SOAP action for input delivery.
pub const ACTION_SEND: &str = "http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Send";
/// SOAP action for shell disconnect (leave server-side shell alive).
pub const ACTION_DISCONNECT: &str =
"http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Disconnect";
/// SOAP action for shell reconnect.
pub const ACTION_RECONNECT: &str =
"http://schemas.microsoft.com/wbem/wsman/1/windows/shell/Reconnect";
/// Signal code: terminate command.
pub const SIGNAL_TERMINATE: &str =
"http://schemas.microsoft.com/wbem/wsman/1/windows/shell/signal/terminate";
/// Signal code: Ctrl+C.
pub const SIGNAL_CTRL_C: &str =
"http://schemas.microsoft.com/wbem/wsman/1/windows/shell/signal/ctrl_c";
/// Command state indicating completion.
pub const COMMAND_STATE_DONE: &str =
"http://schemas.microsoft.com/wbem/wsman/1/windows/shell/CommandState/Done";
/// Anonymous reply-to address.
pub const REPLY_TO_ANONYMOUS: &str =
"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous";
/// WMI resource URI for WQL queries (root/cimv2 wildcard).
pub const RESOURCE_URI_WMI: &str =
"http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/*";
/// SOAP action for WS-Enumeration Enumerate request.
pub const ACTION_ENUMERATE: &str =
"http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate";
/// SOAP action for WS-Enumeration Pull request.
pub const ACTION_PULL: &str = "http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull";
/// WQL filter dialect URI.
pub const WQL_DIALECT: &str = "http://schemas.microsoft.com/wbem/wsman/1/WQL";