CimActivityImplementationContext Class

Definition

Provides additional functionalty for CIM activity implementations.

public class CimActivityImplementationContext : Microsoft.PowerShell.Activities.ActivityImplementationContext
Inheritance
CimActivityImplementationContext

Inherited Members

Microsoft.PowerShell.Activities.ActivityImplementationContext

Constructors

CimActivityImplementationContext(ActivityImplementationContext, String, PSCredential, String, Nullable<AuthenticationMechanism>, Boolean, UInt32, PSSessionOption, CimSession, CimSessionOptions, String, Uri)

Create an instance of the CIM activity implementation class

Properties

ComputerName

The name of the computer this activity targets

ModuleDefinition

Base64 encoded string defining this module...

ModuleScriptBlock

Gets the scriptblock that implements this activity's command

ResourceUri

Defines the resource URI used by the CIM cmdlet.

Session

The session specified for this activity

SessionOptions

The session options used to create the session for this activity...

Methods

CleanUp()

Return the session to the session manager