Skip to main content

Invoke-Task

This page was generated

Contributions are welcome in Psake-repo.

SYNOPSIS

Executes another task in the current build script.

SYNTAX

Invoke-Task [-taskName] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

This is a function that will allow you to invoke a Task from within another Task in the current build script.

EXAMPLES

EXAMPLE 1

Invoke-Task "Compile"

This example calls the "Compile" task.

PARAMETERS

-taskName

The name of the task to execute.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Assert

Exec

FormatTaskName

Framework

Get-PSakeScriptTasks

Include

Invoke-psake

Properties

Task

TaskSetup

TaskTearDown

VERSION

This page was generated using comment-based help in Psake 4.9.0.