IWSMan

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.

Members

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

Methods

The IWSMan interface has these methods.

MethodDescription
CreateConnectionOptions

Creates a, IWSManConnectionOptions object that specifies the user name and password used when creating a remote session.

CreateSession

Creates an IWSManSession object that can then be used for subsequent network operations.

 

Properties

The IWSMan interface has these properties.

PropertyAccess typeDescription

CommandLine

Read-only

Gets the unprocessed command line for the current hosting process.

Error

Read-only

Gets error information.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

WSManDisp.h

IDL

WSManDisp.idl

Library

WSManDisp.tlb

DLL

WSMAuto.dll

See also

Windows Remote Management Reference
WSMan

 

 

Show:
© 2016 Microsoft