WS-Management Protocol

The WS-Management protocol was developed by a group of hardware and software manufacturers as a public standard for remotely exchanging management data with any computer device that implements the protocol.


For more information about WS-Management protocol, see Web Services for Management (WS-Management) Specification.

The intent of the protocol is to provide consistency and interoperability for management operations across many types of devices (including firmware) and operating systems. WS-Management protocol can be extended as new operations are identified by the IT industry.

The current implementation of the WS-Management protocol is based on the following standard specifications: HTTPS, SOAP over HTTP (WS-I profile), SOAP 1.2, WS-Addressing, WS-Transfer, WS-Enumeration, and WS-Eventing. For more information about the WS-Management standards and XML schemas see


The WS-Management protocol provides a standard for constructing XML messages using various web service standards such as WS-Addressing and WS-Transfer. These standards define XML schemas for web service messages. The messages refer to a resource using a resource URI. The WS-Management protocol adds a set of definitions for management operations and values. For example, WS-Transfer defines the Get, Put, Create, and Delete operations for a resource. WS-Management protocol adds Rename, Partial Get, and Partial Put.

The messages follow the conventions of Simple Object Access Protocol (SOAP) which is used by all web service protocols.

The following code example shows a message with a Get operation. This example is shown as an aid to understanding what the underlying messages look like. You do not need to know how to produce SOAP messages. The messages are assembled by Windows Remote Management when you execute a command using the Winrm command-line tool or run a script written with the WinRM Scripting API.

The message is a request to get the instance of Win32_LogicalDisk with a DeviceID property of "c:" from a server named RemoteComputer. The request uses the HTTP transport through port 80. The account sending the request must be in the local administrators group on the remote computer.

The characters before the colon at the beginning of each tag indicate which standard defines the XML element. For example, <wsa:To> indicates that the To element is defined by the WS-Addressing standard and <s:Header> indicates the beginning of the header content in a SOAP message. Be aware that the majority of the message is composed of XML elements defined by SOAP or WS-Addressing. WS-Management protocol adds MaxEnvelopeSize, Selector, and SelectorSet.

<s:Envelope xmlns:s="" 
    <w:ResourceURI s:mustUnderstand="true">
    <a:Address s:mustUnderstand="true">
    <a:Action s:mustUnderstand="true">
    <w:MaxEnvelopeSize s:mustUnderstand="true">153600</w:MaxEnvelopeSize> 
    <w:Locale xml:lang="en-US" s:mustUnderstand="false"/> 
    <w:Selector Name="DeviceId">c:</w:Selector> 

About Windows Remote Management

Remote Hardware Management