NewTimeSpan NewTimeSpan NewTimeSpan Class

Definition

Activity to invoke the Microsoft.PowerShell.Utility\New-TimeSpan command in a Workflow.

public sealed class NewTimeSpan : Microsoft.PowerShell.Activities.PSActivity
type NewTimeSpan = class
    inherit PSActivity
Public NotInheritable Class NewTimeSpan
Inherits PSActivity
Inheritance

Constructors

NewTimeSpan() NewTimeSpan() NewTimeSpan()

Gets the display name of the command invoked by this activity.

Properties

AppendOutput AppendOutput AppendOutput Inherited from PipelineEnabledActivity
CanInduceIdle CanInduceIdle CanInduceIdle Inherited from PSActivity
Days Days Days

Provides access to the Days parameter.

Debug Debug Debug Inherited from PSActivity
DefiningModule DefiningModule DefiningModule Inherited from PSActivity
End End End

Provides access to the End parameter.

ErrorAction ErrorAction ErrorAction Inherited from PSActivity
Hours Hours Hours

Provides access to the Hours parameter.

InformationAction InformationAction InformationAction Inherited from PSActivity
Input Input Input Inherited from PipelineEnabledActivity
MergeErrorToOutput MergeErrorToOutput MergeErrorToOutput Inherited from PSActivity
Minutes Minutes Minutes

Provides access to the Minutes parameter.

PSActionRetryCount PSActionRetryCount PSActionRetryCount Inherited from PSActivity
PSActionRetryIntervalSec PSActionRetryIntervalSec PSActionRetryIntervalSec Inherited from PSActivity
PSActionRunningTimeoutSec PSActionRunningTimeoutSec PSActionRunningTimeoutSec Inherited from PSActivity
PSCommandName PSCommandName PSCommandName

Gets the fully qualified name of the command invoked by this activity.

PSDebug PSDebug PSDebug Inherited from PSActivity
PSDefiningModule PSDefiningModule PSDefiningModule Inherited from PSActivity
PSDisableSerialization PSDisableSerialization PSDisableSerialization Inherited from PSActivity
PSError PSError PSError Inherited from PSActivity
PSInformation PSInformation PSInformation Inherited from PSActivity
PSPersist PSPersist PSPersist Inherited from PSActivity
PSProgress PSProgress PSProgress Inherited from PSActivity
PSProgressMessage PSProgressMessage PSProgressMessage Inherited from PSActivity
PSRequiredModules PSRequiredModules PSRequiredModules Inherited from PSActivity
PSVerbose PSVerbose PSVerbose Inherited from PSActivity
PSWarning PSWarning PSWarning Inherited from PSActivity
ParameterDefaults ParameterDefaults ParameterDefaults Inherited from PSActivity
Result Result Result Inherited from PipelineEnabledActivity
Seconds Seconds Seconds

Provides access to the Seconds parameter.

Start Start Start

Provides access to the Start parameter.

Tracer Tracer Tracer Inherited from PSActivity
UpdatePreferenceVariable UpdatePreferenceVariable UpdatePreferenceVariable Inherited from PSActivity
UseDefaultInput UseDefaultInput UseDefaultInput Inherited from PipelineEnabledActivity
Verbose Verbose Verbose Inherited from PSActivity
WarningAction WarningAction WarningAction Inherited from PSActivity

Methods

ActivityEndPersistence(NativeActivityContext) ActivityEndPersistence(NativeActivityContext) ActivityEndPersistence(NativeActivityContext) Inherited from PSActivity
CacheMetadata(NativeActivityMetadata) CacheMetadata(NativeActivityMetadata) CacheMetadata(NativeActivityMetadata) Inherited from PSActivity
Cancel(NativeActivityContext) Cancel(NativeActivityContext) Cancel(NativeActivityContext) Inherited from PSActivity
Execute(NativeActivityContext) Execute(NativeActivityContext) Execute(NativeActivityContext) Inherited from PSActivity
GetActivityArguments() GetActivityArguments() GetActivityArguments() Inherited from PSActivity
GetImplementation(NativeActivityContext) GetImplementation(NativeActivityContext) GetImplementation(NativeActivityContext) Inherited from PSActivity
GetPowerShell(NativeActivityContext) GetPowerShell(NativeActivityContext) GetPowerShell(NativeActivityContext) Inherited from PSActivity
GetRunInProc(ActivityContext) GetRunInProc(ActivityContext) GetRunInProc(ActivityContext) Inherited from PSActivity
PrepareSession(ActivityImplementationContext) PrepareSession(ActivityImplementationContext) PrepareSession(ActivityImplementationContext) Inherited from PSActivity
UpdateImplementationContextForLocalExecution(ActivityImplementationContext, ActivityContext) UpdateImplementationContextForLocalExecution(ActivityImplementationContext, ActivityContext) UpdateImplementationContextForLocalExecution(ActivityImplementationContext, ActivityContext) Inherited from PSActivity
WriteProgressRecord(NativeActivityContext, PSDataCollection<ProgressRecord>, String, ProgressRecordType) WriteProgressRecord(NativeActivityContext, PSDataCollection<ProgressRecord>, String, ProgressRecordType) WriteProgressRecord(NativeActivityContext, PSDataCollection<ProgressRecord>, String, ProgressRecordType) Inherited from PSActivity

Applies to