Export (0) Print
Expand All

WinRM C++ API

The Windows Remote Management interfaces can be used to obtain data or manage resources on a remote computer. The interfaces closely correspond to the WinRM Scripting API.

The WinRM interfaces that inherit directly from from IDispatch each have a corresponding scripting object. For more information, see the WinRM Scripting API.

For multithreaded applications, WinRM does not support separate threads accessing the same IWSMAN object.

The following table lists interfaces that are provided by WinRM.

InterfaceDescription

IWSMan

Provides methods and properties used to create a new session and manage an established session. WSMan is the corresponding scripting object.

IWSManEx

Provides methods and properties used to create a new IWSManResourceLocator. This method is available for the WSMan scripting object.

IWSManConnectionOptions

Defines the user name and password used for remote connections. ConnectionOptions is the corresponding scripting object.

IWSManSession

Defines the network operations and properties available for the session. Session is the corresponding scripting object.

IWSManEnumerator

Represents a collection of results returned from enumerating a resource. Enumerator is the corresponding scripting object.

IWSManResourceLocator

Supplies the path to a resource. You can use an IWSManResourceLocator object instead of a resource URI in Session object operations. ResourceLocator is the corresponding scripting object.

 

Related topics

Windows Remote Management Reference

 

 

Show:
© 2014 Microsoft