IWSMan interface (wsmandisp.h)

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.

Inheritance

The IWSMan interface inherits from the IUnknown interface. IWSMan also has these types of members:

Methods

The IWSMan interface has these methods.

 
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.

Requirements

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

See also

WSMan

Windows Remote Management Reference