PowershellAliases.

StartPowershellFile(ICakeContext, 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> StartPowershellFile(this ICakeContext context, FilePath path)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
path FilePath The path of the script file to run.

Return Value

Type Description
Collection<PSObject> A collection of powershell objects