CimActivityImplementationContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides additional functionalty for CIM activity implementations.
public ref class CimActivityImplementationContext : Microsoft::PowerShell::Activities::ActivityImplementationContext
[Windows::Foundation::Metadata::WebHostHidden]
class CimActivityImplementationContext : Microsoft::PowerShell::Activities::ActivityImplementationContext
public class CimActivityImplementationContext : Microsoft.PowerShell.Activities.ActivityImplementationContext
type CimActivityImplementationContext = class
inherit ActivityImplementationContext
Public Class CimActivityImplementationContext
Inherits ActivityImplementationContext
- Inheritance
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
AppendOutput |
Determines whether to append output to Result. (Inherited from ActivityImplementationContext) |
Authority |
Specifies the authority to use to authenticate the WMI connection. You can specify standard NTLM or Kerberos authentication. To use NTLM, set the authority setting to ntlmdomain:"DomainName", where "DomainName" identifies a valid NTLM domain name. To use Kerberos, specify kerberos:"DomainName>\ServerName". You cannot include the authority setting when you connect to the local computer. (Inherited from ActivityImplementationContext) |
CimSession |
CIM Sessions to use for this activity. (Inherited from ActivityImplementationContext) |
ComputerName |
The name of the computer this activity targets |
ConnectionInfo |
The connection info to use for this command (may be null) (Inherited from ActivityImplementationContext) |
Debug |
Determines whether to emit debug output of the activity. (Inherited from ActivityImplementationContext) |
EnableAllPrivileges |
Enables all the privileges of the current user before the command makes the WMI call. (Inherited from ActivityImplementationContext) |
ErrorAction |
Determines how errors should be handled by the activity. (Inherited from ActivityImplementationContext) |
Impersonation |
Specifies the impersonation level to use. Valid values are: 0: Default (reads the local registry for the default impersonation level , which is usually set to "3: Impersonate".) 1: Anonymous (Hides the credentials of the caller.) 2: Identify (Allows objects to query the credentials of the caller.) 3: Impersonate (Allows objects to use the credentials of the caller.) 4: Delegate (Allows objects to permit other objects to use the credentials of the caller.) (Inherited from ActivityImplementationContext) |
InformationAction |
Determines how information messages should be handled by the activity. (Inherited from ActivityImplementationContext) |
Input |
The Input stream / collection for the activity. (Inherited from ActivityImplementationContext) |
Locale |
Specifies the preferred locale for WMI objects. Specify the value of the Locale parameter as an array in the MS_"LCID" format in the preferred order . (Inherited from ActivityImplementationContext) |
MergeErrorToOutput |
Determines whether to merge the error data to the output stream (Inherited from ActivityImplementationContext) |
ModuleDefinition |
Base64 encoded string defining this module... |
ModuleScriptBlock |
Gets the scriptblock that implements this activity's command |
Namespace |
When used with the Class parameter, this parameter specifies the WMI repository namespace where the referenced WMI class is located. When used with the List parameter, it specifies the namespace from which to gather WMI class information. (Inherited from ActivityImplementationContext) |
PowerShellInstance |
The instance of System.Management.Automation.PowerShell the activity has prepared. (Inherited from ActivityImplementationContext) |
PSActionRetryCount |
Defines the number of retries that the activity will make when it encounters an error during execution of its action. The default is to not retry. (Inherited from ActivityImplementationContext) |
PSActionRetryIntervalSec |
Defines the delay, in seconds, between action retry attempts. The default is one second. (Inherited from ActivityImplementationContext) |
PSActionRunningTimeoutSec |
Defines the maximum amount of time, in seconds, that this activity may run. The default is unlimited. (Inherited from ActivityImplementationContext) |
PSActivityEnvironment |
Policy for activity host that will execute this activity (Inherited from ActivityImplementationContext) |
PSAllowRedirection |
Determines whether to allow redirection by the remote computer. The default is false. (Inherited from ActivityImplementationContext) |
PSApplicationName |
Defines the remote application name to connect to. The default is "wsman". (Inherited from ActivityImplementationContext) |
PSAuthentication |
Defines the authentication type to be used in the remote connection. (Inherited from ActivityImplementationContext) |
PSAuthenticationLevel |
Specifies the authentication level to be used with the WMI connection. Valid values are: -1: Unchanged 0: Default 1: None (No authentication in performed.) 2: Connect (Authentication is performed only when the client establishes a relationship with the application.) 3: Call (Authentication is performed only at the beginning of each call when the application receives the request.) 4: Packet (Authentication is performed on all the data that is received from the client.) 5: PacketIntegrity (All the data that is transferred between the client and the application is authenticated and verified.) 6: PacketPrivacy (The properties of the other authentication levels are used, and all the data is encrypted.) (Inherited from ActivityImplementationContext) |
PSCertificateThumbprint |
Defines the certificate thumbprint to be used in the remote connection. (Inherited from ActivityImplementationContext) |
PSComputerName |
The computer name to invoke this activity on. (Inherited from ActivityImplementationContext) |
PSConfigurationName |
Defines the remote configuration name to connect to. The default is "Microsoft.PowerShell". (Inherited from ActivityImplementationContext) |
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. (Inherited from ActivityImplementationContext) |
PSConnectionRetryIntervalSec |
Defines the delay, in seconds, between connection retry attempts. The default is one second. (Inherited from ActivityImplementationContext) |
PSConnectionUri |
Defines the fully-qualified remote URI to connect to. When specified, the PSComputerName, PSApplicationName, PSConfigurationName, and PSPort are not used. (Inherited from ActivityImplementationContext) |
PSCredential |
Defines the credential to use in the remote connection. (Inherited from ActivityImplementationContext) |
PSDebug |
The Debug stream / collection for the activity. (Inherited from ActivityImplementationContext) |
PSDisableSerialization |
Forces the activity to return non-serialized objects. Resulting objects have functional methods and properties (as opposed to serialized versions of them), but will not survive persistence when the Workflow crashes or is persisted. (Inherited from ActivityImplementationContext) |
PSError |
The Error stream / collection for the activity. (Inherited from ActivityImplementationContext) |
PSInformation |
The Information stream / collection for the activity. (Inherited from ActivityImplementationContext) |
PSPersist |
Forces the activity to not call the persist functionality, which will be responsible for persisting the workflow state onto the disk. (Inherited from ActivityImplementationContext) |
PSPort |
The port to use in a remote connection attempt. The default is: HTTP: 5985, HTTPS: 5986. (Inherited from ActivityImplementationContext) |
PSProgress |
The Progress stream / collection for the activity. (Inherited from ActivityImplementationContext) |
PSProgressMessage |
Defines the PSProgressMessage. (Inherited from ActivityImplementationContext) |
PSRemotingBehavior |
Defines the remoting behavior to use when invoking this activity. (Inherited from ActivityImplementationContext) |
PSRequiredModules |
This the list of module names (or paths) that are required to run this Activity successfully. The default is null. (Inherited from ActivityImplementationContext) |
PSSessionOption |
Defines any session options to be used in the remote connection. (Inherited from ActivityImplementationContext) |
PSUseSsl |
Determines whether to use SSL in the connection attempt. The default is false. (Inherited from ActivityImplementationContext) |
PSVerbose |
The Verbose stream / collection for the activity. (Inherited from ActivityImplementationContext) |
PSWarning |
The Warning stream / collection for the activity. (Inherited from ActivityImplementationContext) |
PSWorkflowPath |
The paththat the workflow was imported from. (Inherited from ActivityImplementationContext) |
ResourceUri |
Defines the resource URI used by the CIM cmdlet. |
Result |
The collection to hold the results of the activity. (Inherited from ActivityImplementationContext) |
Session |
The session specified for this activity |
SessionOptions |
The session options used to create the session for this activity... |
Verbose |
Determines whether to emit verbose output of the activity. (Inherited from ActivityImplementationContext) |
WarningAction |
Determines how warnings should be handled by the activity. (Inherited from ActivityImplementationContext) |
WhatIf |
Determines whether to emit whatif output of the activity. (Inherited from ActivityImplementationContext) |
WorkflowContext |
Any context required by the command. (Inherited from ActivityImplementationContext) |
Methods
CleanUp() |
Return the session to the session manager |