PowershellRunner.

Start(string, 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(string script, PowershellSettings settings)

Parameters

Name Type Description
script string The powershell script to run.
settings PowershellSettings The information about the script to start.

Return Value

Type Description
Collection<PSObject> Powershell objects.