WSMan.CreateConnectionOptions method

Creates a ConnectionOptions object that specifies the user name and password used when creating a session.

Syntax

WSMan.CreateConnectionOptions()

Parameters

This method has no parameters.

Return value

A ConnectionOptions object used to specify a user name and password pair that is used to identify a user for authentication.

Remarks

The following syntax is used to call this method.

Set options = wsman.CreateConnectionOptions

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Redistributable

WinRM 1.1 (Windows Server 2003 R2, or Windows Server 2003 with SP1)

Header

Wsmandisp.h

IDL

Wsmandisp.idl

Library

WSManAutomation.lib

DLL

Wsmauto.dll

See also

WSMan
ConnectionOptions

 

 

Show:
© 2014 Microsoft