Skip to content

Latest commit

 

History

History
77 lines (44 loc) · 3.65 KB

winrm-c---api.md

File metadata and controls

77 lines (44 loc) · 3.65 KB
title description ms.assetid ms.tgt_platform ms.topic ms.date
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.
e50075a1-cb43-4bd6-9bbf-6b715fde6a3a
multiple
article
05/31/2018

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.

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