< Back

Get-PSakeScriptTasks

Sun Jan 19, 2020 5:58 pm

NAME Get-PSakeScriptTasks



SYNOPSIS

Returns meta data about all the tasks defined in the provided psake script.





SYNTAX

Get-PSakeScriptTasks [[-buildFile] <String>] [<CommonParameters>]





DESCRIPTION

Returns meta data about all the tasks defined in the provided psake script.





PARAMETERS

-buildFile <String>

The path to the psake build script to read the tasks from.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-PSakeScriptTasks -buildFile '.\\build.ps1'



DependsOn Alias Name Description

--------- ----- ---- -----------

{} Compile

{} Clean

{Test} Default

{Clean, Compile} Test



Gets the psake tasks contained in the 'build.ps1' file.











RELATED LINKS

Invoke-psake