PowershellAliases.

StartPowershellDownload(ICakeContext, Uri, FilePath) Method

Summary

Starts a powershell script using the specified information.
Assembly
Cake.Powershell.dll
Namespace
Cake.Powershell
Containing Type
PowershellAliases

Syntax

public static Collection<PSObject> StartPowershellDownload(this ICakeContext context, Uri uri, FilePath path)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
uri Uri The location of the script file to download and run.
path FilePath The temporary path to download the file to.

Return Value

Type Description
Collection<PSObject> A collection of powershell objects