PowershellRunner.

Start(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(FilePath path, PowershellSettings settings)

Parameters

Name Type Description
path FilePath The path of the script file to run.
settings PowershellSettings The information about the script to start.

Return Value

Type Description
Collection<PSObject> Powershell objects.