Using Windows Remote Management
Windows Remote Management is intended to improve hardware management in a network environment with various devices running a variety of operating systems. The entire design of the service is focused on monitoring and managing remote computers by implementing an interoperable standard protocol.
Because the WinRM Scripting API and the WinRM C++ API implement and closely model the operations defined for the WS-Management protocol, scripts and applications receive streams of XML in response to requests. Input parameters to method calls must be constructed in XML. You can use the methods of the MSXML API to display or construct XML strings. For an example, see Displaying XML Output from WinRM Scripts.
The following list includes topics that describe how to use WinRM scripting:
- Detecting Whether a Remote Computer Supports WS-Management Protocol
- Obtaining Data from the Local Computer
- Obtaining Data from a Remote Computer
- Enumerating or Listing All the Instances of a Resource
- Querying for Specific Instances of a Resource
- Displaying XML Output from WinRM Scripts
Tracing WinRM Activity
Because WinRM obtains data through Windows Management Instrumentation (WMI), you can trace WMI activity that results from WinRM messages. Starting with Windows Vista, the WMI service no longer uses the WMI Log Files. Instead it uses Event Tracing (ETW) and events are available through the Event Viewer UI or the Evtutil command line tool.