WinRM C++ API
The Windows Remote Management interfaces can be used to obtain data or manage resources on a remote computer. This API is intended primarily for internal use. We recommend using the WinRM Client Shell API instead whenever possible. The interfaces closely correspond to the WinRM Scripting API.
The WinRM interfaces that inherit directly 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 interfaces are provided by WinRM.
-
Provides methods and properties used to create a new session and manage an established session. WSMan is the corresponding scripting object.
-
Provides methods and properties used to create a new IWSManResourceLocator. This method is available for the WSMan scripting object.
-
Defines the user name and password used for remote connections. ConnectionOptions is the corresponding scripting object.
-
Defines the network operations and properties available for the session. Session is the corresponding scripting object.
-
Represents a collection of results returned from enumerating a resource. Enumerator is the corresponding scripting object.
-
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