Export (0) Print
Expand All

IWSManEx interface

Extends the methods and properties of the IWSMan interface to include creating IWSManResourceLocator objects, methods that return enumeration and session flag values, and a method to get extended error information.

Members

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

Methods

The IWSManEx interface has these methods.

MethodDescription
CreateResourceLocator

Creates a new instance of an IWSManResourceLocator object.

IWSManEx.SessionFlagCredUsernamePassword

Returns the value of the authentication flag WSManFlagCredUsernamePassword for use in the flags parameter of IWSMan::CreateSession.

IWSManEx.SessionFlagEnableSPNServerPort

Returns the value of the authentication flag WSManFlagEnableSPNServerPort for use in the flags parameter of IWSMan::CreateSession.

IWSManEx.SessionFlagNoEncryption

Returns the value of the authentication flag WSManFlagNoEncryption for use in the flags parameter of IWSMan::CreateSession.

IWSManEx.SessionFlagSkipCACheck

Returns the value of the authentication flag WSManFlagSkipCACheck for use in the flags parameter of IWSMan::CreateSession.

IWSManEx.SessionFlagSkipCNCheck

Returns the value of the authentication flag WSManFlagSkipCNCheck for use in the flags parameter of IWSMan::CreateSession.

IWSManEx.SessionFlagUseBasic

Returns the value of the authentication flag WSManFlagUseBasic for use in the flags parameter of IWSMan.CreateSession. This method provides a more efficient syntax for using the constant so that scripts are not required to set a constant value.

IWSManEx.SessionFlagUseDigest

Returns the value of the authentication flag WSManFlagUseDigest for use in the flags parameter of WSMan.CreateSession. This method provides a more efficient syntax for using the constant so that scripts are not required to set a constant value.

IWSManEx.SessionFlagUseNegotiate

Returns the value of the authentication flag WSManFlagUseNegotiate for use in the flags parameter of WSMan.CreateSession. This method provides a more efficient syntax for using the constant so that scripts are not required to set a constant value.

IWSManEx.SessionFlagUseNoAuthentication

Returns the value of the authentication flag WSManFlagUseNoAuthentication for use in the flags parameter of WSMan.CreateSession. This method provides a more efficient syntax for using the constant so that scripts are not required to set a constant value.

IWSManEx.SessionFlagUTF8

Returns the value of the authentication flag WSManFlagUTF8 for use in the flags parameter of WSMan.CreateSession. This method provides a more efficient syntax for using the constant so that scripts are not required to set a constant value.

IWSManEx.WSMan.SessionFlagUseKerberos

Returns the value of the authentication flag WSManFlagUseKerberos for use in the flags parameter of WSMan.CreateSession. This method provides a more efficient syntax for using the constant so that scripts are not required to set a constant value.

IWSManEx::EnumerationFlagHierarchyDeep

Returns the value of the enumeration constant EnumerationFlagHierarchyDeep for use in the flags parameter of the IWSManSession::Enumerate method.

IWSManEx::EnumerationFlagHierarchyDeepBasePropsOnly

Returns the value of the enumeration constant EnumerationFlagHierarchyDeepBasePropsOnly for use in the flags parameter of the IWSManSession::Enumerate method.

IWSManEx::EnumerationFlagHierarchyShallow

Returns the value of the enumeration constant EnumerationFlagHierarchyShallow for use in the flags parameter of the IWSManSession::Enumerate method.

IWSManEx::EnumerationFlagNonXmlText

Returns the value of the enumeration constant WSManFlagNonXmlText for use in the flags parameter of the IWSManSession::Enumerate method.

IWSManEx::EnumerationFlagNonXmlText

Returns the value of the enumeration constant WSManFlagNonXmlText for use in the flags parameter of the IWSManSession::Enumerate method.

IWSManEx::EnumerationFlagReturnEPR

Returns the value of the enumeration constant EnumerationFlagReturnEPR for use in the flags parameter of the IWSManSession::Enumerate method.

IWSManEx::EnumerationFlagReturnObject

Returns the value of the enumeration constant EnumerationFlagReturnObject for use in the flags parameter of the IWSManSession::Enumerate method.

IWSManEx::EnumerationFlagReturnObjectAndEPR

Returns the value of the enumeration constant EnumerationFlagReturnObjectAndEPR for use in the flags parameter of the IWSManSession::Enumerate method.

IWSManEx::GetErrorMessage

Returns a formatted string containing the text of an error number.

 

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

Windows Remote Management Reference
WSMan

 

 

Show:
© 2014 Microsoft