IWSMan interface

Provides methods and properties used to create a session, represented by a Session object. Any Windows Remote Management operations require creation of a Session that connects to a remote computer, base management controller (BMC), or the local computer. Operations include getting, writing, or enumerating data, or invoking methods.


The IWSMan interface has these methods.

Method Description
IWSMan::CreateConnectionOptions Creates an IWSManConnectionOptions object that specifies the user name and password used when creating a session.
IWSMan::CreateSession Creates a Session object that can then be used for subsequent network operations.
IWSMan::get_CommandLine Gets the command line of the process that loads the automation component.
IWSMan::get_Error Gets additional error information, in an XML stream, for the preceding call to an IWSMan method if Windows Remote Management service was unable to create an IWSManSession object, an IWSManConnectionOptions object, or an IWSManResourceLocator object.


Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wsmandisp.h

See Also


Windows Remote Management Reference