Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Redistributable

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

Header

Wsmandisp.h

IDL

Wsmandisp.idl

Library

WSManAutomation.lib

DLL

Wsmauto.dll

See also

WSMan
ConnectionOptions

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.