PowershellRunner.

Start(Uri, FilePath, PowershellSettings) Method

Summary

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

Syntax

public Collection<PSObject> Start(Uri uri, FilePath path, PowershellSettings settings)

Parameters

Name Type Description
uri Uri The location of the script file to download and run.
path FilePath The temporary path to download the file to.
settings PowershellSettings The information about the process to start.

Return Value

Type Description
Collection<PSObject> Powershell objects.