StartService Members

Activity to invoke the Microsoft.PowerShell.Management\Start-Service command in a workflow. This SDK programming element is introduced in Windows PowerShell 3.0.

The following tables list the members exposed by the StartService type.

  Name Description
  StartService Gets the display name of the command invoked by this activity. This SDK programming element is introduced in Windows PowerShell 3.0.
Top

(see also Protected Properties)
 NameDescription
public propertyAppendOutput  Determines whether to append output to the stream specified by the Result property. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
public propertyDebug  Gets or sets a value that indicates whether to emit the debug output of the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyDisplayName  (Inherited from Activity)
public propertyErrorAction  Gets or sets how errors are handled by the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyExcludeProvides access to the Exclude parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyId  (Inherited from Activity)
public propertyIncludeProvides access to the Include parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyInput  The input stream for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
public propertyInputObjectProvides access to the InputObject parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyMergeErrorToOutput  Gets or sets a value that indicates whether to merge error data to the output stream. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyNameProvides access to the Name parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyPassThruProvides access to the PassThru parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyPSActionRetryCount  Gets or sets the number of times the activity retries execution of an action after encountering an execution error. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSActionRetryIntervalSec  Gets or sets the number of seconds to wait before retrying the action. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSActionRunningTimeoutSec  Gets or sets the number of seconds to wait before the action times out. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSAllowRedirection  Determines whether to allow redirection by the remote computer. The default is false. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSApplicationName  Defines the remote application name to connect to. The default is wsman. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSAuthentication  Defines the authentication type to be used in the remote connection. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSCertificateThumbprint  Defines the certificate thumbprint to be used in the remote connection. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSCommandNameOverridden. Gets the fully qualified name of the command invoked by this activity. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyPSComputerName  The name of the remote computer. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSConfigurationName  Defines the remote configuration name to connect to. The default is Microsoft.PowerShell. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSConnectionRetryCount  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. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSConnectionRetryIntervalSec  The number of seconds to wait before trying to run the activity again. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSConnectionUri  Defines the fully-qualified remote URI to connect to. When specified, the PSComputerName, PSApplicationName, PSConfigurationName, and PSPort properties are not used. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSCredential  The credentials used to authenticate the activity host. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSDebug  Gets or sets the debug stream (or collection of streams) for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSDisableSerialization  Gets or sets a value that indicates whether to disable serialization for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSError  Gets or sets the error stream (or collection of streams) for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSPersist  Gets or sets a value that indicates whether to force the activity to persist the workflow state onto the disk. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSPort  The port to use in a remote connection attempt. The default is: HTTP: 5985, HTTPS: 5986. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSProgress  Gets or sets the progress stream (or collection of streams) for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSProgressMessage  Gets or sets the message in the progress stream. (Inherited from PSActivity)
public propertyPSRemotingBehavior  Defines the remoting behavior to use when invoking this activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSRequiredModules  Gets or sets the list of module names or paths that are required to run this activity successfully. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSSessionOption  Defines any session options to be used in the remote connection. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSUseSsl  Specifies whether to use Secure Sockets Layer (SSL) authentication in the connection attempt. The default is false. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
public propertyPSVerbose  Gets or sets the verbose stream (or collection of streams) for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSWarning  Gets or sets the warning stream (or collection of streams) for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyResult  The output stream from the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
public propertyServiceDisplayNameProvides access to the ServiceDisplayName parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyUseDefaultInput  Specifies whether to connect the input stream for this activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
public propertyVerbose  Gets or sets a value that indicates whether to emit verbose output of the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyWarningAction  Gets or sets how warnings are handled by the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
Top

  Name Description
protected property CanInduceIdle  Overridden. Gets a value that indicates whether the activity can be idle. (Inherited from NativeActivity)
protected property Constraints  (Inherited from Activity)
protected property DefiningModule  Gets the name of the module that an activity needs to load before it can execute. (Inherited from PSActivity)
protected property Implementation  Overridden. (Inherited from Activity)
protected property ParameterDefaults  Gets or sets the parameter defaults. (Inherited from PSActivity)
protected property PSDefiningModule  Gets the module that defines the command called by this activity. (Inherited from PSActivity)
protected property SupportsCustomRemoting  Declares whether this command supports its own custom remoting.Commands that support their own custom remoting should return true from this property, and use the PSComputerNameparameter as required when the PSRemotingBehavior parameter is set to Custom. (Inherited from PSRemotingActivity)
protected property Tracer  Gets access to Windows PowerShell tracing channels. (Inherited from PSActivity)
protected property UpdatePreferenceVariable  Gets a value that indicates whether preference variables are updated. (Inherited from PSActivity)
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodShouldSerializeDisplayName  (Inherited from Activity)
public methodToString  Overridden. (Inherited from Object)
Top

  Name Description
protected method Abort  (Inherited from NativeActivity)
protected method ActivityEndPersistence  When overridden in a derived class, ends the persistence of the Windows PowerShell activity. (Inherited from PSActivity)
protected method CacheMetadata  Overridden. Retrieves the stream and ubiquitous parameter information from the hosting application. (Inherited from NativeActivity)
protected method CacheMetadata  Overridden. (Inherited from Activity)
protected method Cancel  Overridden. Cancels the running activity. (Inherited from NativeActivity)
protected method Execute  Overridden. Begins the execution of the activity. (Inherited from NativeActivity)
protected method Finalize  (Inherited from Object)
protected method GetActivityArguments  Retrieves the list of arguments for the activity. (Inherited from PSActivity)
protected method GetImplementation  Overridden. Prepare commands that use PSRP for remoting. (Inherited from PSActivity)
protected method GetIsComputerNameSpecified  Returns true if the PSComputerName parameter has been specified, and contains at least one target. (Inherited from PSRemotingActivity)
protected method GetPowerShell  When overridden in a derived class, retrieves a configured instance of PowerShell. (Inherited from PSActivity)
protected method GetRunInProc  Determines whether this activity should be run in or out of process when run locally. (Inherited from PSActivity)
protected method MemberwiseClone  (Inherited from Object)
protected method OnCreateDynamicUpdateMap  (Inherited from NativeActivity)
protected method OnCreateDynamicUpdateMap  Overridden. (Inherited from Activity)
protected method PrepareSession  When overridden in a derived class, customizes the runspace of a PowerShell instance that the runtime has prepared for it. (Inherited from PSActivity)
protected method UpdateInstance  (Inherited from NativeActivity)
protected method WriteProgressRecord  Writes a progress record for the current activity. (Inherited from PSActivity)
Top

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft