Partilhar via


Microsoft.WSMan.Management Namespace

Classes

AuthenticatingWSManCommand

Common base class for all WSMan cmdlets that take Authentication, CertificateThumbprint and Credential parameters.

ConnectWSManCommand

Connect wsman cmdlet.

DisableWSManCredSSPCommand

Disables CredSSP authentication on the client. CredSSP authentication enables an application to delegate the user's credentials from the client to the server, hence allowing the user to perform management operations that access a second hop.

DisconnectWSManCommand

The following is the definition of the input parameter "ComputerName". Executes the management operation on the specified computer(s). The default is the local computer. Type the fully qualified domain name, NETBIOS name or IP address to indicate the remote host(s)

EnableWSManCredSSPCommand

Enables CredSSP authentication on the client. CredSSP authentication enables an application to delegate the user's credentials from the client to the server, hence allowing the user to perform management operations that access a second hop. This cmdlet performs the following:

On the client:

  1. Enables WSMan local configuration on client to enable CredSSP
  2. Sets CredSSP policy AllowFreshCredentials to wsman/Delegate. This policy allows delegating explicit credentials to a server when server authentication is achieved via a trusted X509 certificate or Kerberos.
GetWSManCredSSPCommand

Gets the CredSSP related configuration on the client. CredSSP authentication enables an application to delegate the user's credentials from the client to the server, hence allowing the user to perform management operations that access a second hop. This cmdlet performs the following:

  1. Gets the configuration for WSMan policy on client to enable/disable CredSSP
  2. Gets the configuration information for the CredSSP policy AllowFreshCredentials . This policy allows delegating explicit credentials to a server when server authentication is achieved via a trusted X509 certificate or Kerberos.
GetWSManInstanceCommand

Executes action on a target object specified by RESOURCE_URI, where parameters are specified by key value pairs. eg., Call StartService method on the spooler service Invoke-WSManAction -Action StartService -ResourceURI wmicimv2/Win32_Service -SelectorSet {Name=Spooler}

GPClass

GPClass interface.

GpoNativeApi

GpoNativeApi

InvokeWSManActionCommand

Executes action on a target object specified by RESOURCE_URI, where parameters are specified by key value pairs. eg., Call StartService method on the spooler service Invoke-WSManAction -Action StartService -ResourceURI wmicimv2/Win32_Service -SelectorSet {Name=Spooler}

NewWSManInstanceCommand

Creates an instance of a management resource identified by the resource URI using specified ValueSet or input File.

NewWSManSessionOptionCommand

Creates a WSMan Session option hashtable which can be passed into WSMan cmdlets: Get-WSManInstance Set-WSManInstance Invoke-WSManAction Connect-WSMan.

RemoveWSManInstanceCommand

Executes action on a target object specified by RESOURCE_URI, where parameters are specified by key value pairs. eg., Call StartService method on the spooler service Set-WSManInstance -Action StartService -ResourceURI wmicimv2/Win32_Service -SelectorSet {Name=Spooler}

SessionOption

Session option class.

SetWSManInstanceCommand

Executes action on a target object specified by RESOURCE_URI, where parameters are specified by key value pairs. eg., Call StartService method on the spooler service Set-WSManInstance -Action StartService -ResourceURI wmicimv2/Win32_Service -SelectorSet {Name=Spooler}

SetWSManQuickConfigCommand

Performs configuration actions to enable the local machine for remote management. Steps include:

  1. Check if WinRM service is running. If not start the WinRM service
  2. Set the WinRM service type to auto start
  3. Create a listener to accept request on any IP address. By default transport is http
  4. Enable firewall exception for WS-Management traffic.
TestWSManCommand

Issues an operation against the remote machine to ensure that the wsman service is running.

WSManClass

WSMan interface.

WSManConfigContainerElement

Container Element.

WSManConfigElement

Base Output object.

WSManConfigLeafElement

Leaf Element.

WSManConfigProvider

WsMan Provider.

WSManCredSSPCommandBase

Base class used *-WSManCredSSP cmdlets (Enable-WSManCredSSP, Disable-WSManCredSSP)

WSManProviderClientCertificateParameters

Client Certificate Dynamic Parameters Path - WsMan:\Localhost\ClientCertificate.

WSManProviderInitializeParameters

Initparameters dynamic parameters Path - wsman:\localhost\plugin[specified plugin]\Initializationparameters>

WSManProviderNewItemComputerParameters

Computer dynamic parameters. This is similar to connect-wsman parameters. Available path wsman:>

WSManProviderNewItemPluginParameters

Plugin Dynamic parameter. There are 2 parameter sets. Path - WSMan:\Localhost\Plugin>

WSManProviderNewItemResourceParameters

Dynamic parameter for Resource Item. Path - WsMAn:\localhost\Plugin[Specified Plugin]\Resources>

WSManProviderNewItemSecurityParameters

Security Dynamic Parameters Path - WsMan:\Localhost\Plugin[Specified Plugin]\Resources[Specified Resource]\Security>

WSManProviderSetItemDynamicParameters

Set-Item Dynamic parameters Path - WsMan:\Localhost\Client> Set-Item .\TrustedHosts.

WSManProvidersListenerParameters

Listener Dynamic parameters Path - WsMan:\Localhost\Listener>

Interfaces

IWSMan

IWSMan interface.

IWSManConnectionOptions

IWSManConnectionOptions interface.

IWSManConnectionOptionsEx

IWSManConnectionOptions interface.

IWSManConnectionOptionsEx2

IWSManConnectionOptions interface.

IWSManEnumerator

IWSManEnumerator interface.

IWSManEx

IWSManEx interface.

IWSManResourceLocator

IWSManResourceLocator interface.

IWSManResourceLocatorInternal

IWSManResourceLocatorInternal interface.

IWSManSession

IWSManSession interface.

Enums

AuthenticationMechanism

WSManEnumFlags enumeration

ProxyAccessType

Property.

ProxyAuthentication

Property.

WSManEnumFlags

_WSManEnumFlags enumeration.

WSManSessionFlags

WSManSessionFlags enumeration.