PSGeneratedCIMActivity Class

Definition

Base class for activities that can use WsMan directly to contact ta managed node.

public abstract class PSGeneratedCIMActivity : Microsoft.PowerShell.Activities.PSActivity, Microsoft.PowerShell.Activities.IImplementsConnectionRetry
Inheritance
Derived
Implements

Inherited Members

Microsoft.PowerShell.Activities.PipelineEnabledActivity

Microsoft.PowerShell.Activities.PSActivity

Constructors

PSGeneratedCIMActivity()

Properties

CimSession

CIM Sessions to use for this activity.

ModuleDefinition

Contains the powershell text defining the mode for this command.

PSAuthentication

Defines the authentication type to be used in the remote connection.

PSCertificateThumbprint

Defines the certificate thumbprint to be used in the remote connection.

PSComputerName

The computer name to invoke this activity on.

PSConnectionRetryCount

Defines the number of retries that the activity will make to connect to a remote machine when it encounters an error. The default is to not retry.

PSConnectionRetryIntervalSec

Defines the delay, in seconds, between connection retry attempts. The default is one second.

PSCredential

Defines the credential to use in the remote connection.

PSPort

The port to use in a remote connection attempt. The default is: HTTP: 5985, HTTPS: 5986.

PSSessionOption

Defines any session options to be used in the remote connection.

PSUseSsl

Determines whether to use SSL in the connection attempt. The default is false.

ResourceUri

Defines the resource URI used by the CIM cmdlet.

Methods

GetImplementation(NativeActivityContext)

Prepare commands that use CIM for remoting...

GetIsComputerNameSpecified(ActivityContext)

Returns TRUE if the PSComputerName argument has been specified, and contains at least one target.