This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Powershell.
Summary
Starts a powershell script using the specified information.
Syntax
public static Collection<PSObject> StartPowershellFile(this ICakeContext context, FilePath path, Action<ProcessArgumentBuilder> arguments)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The cake context. |
| path |
FilePath |
The path of the script file to run. |
| arguments |
Action<ProcessArgumentBuilder> |
The arguments to append. |
Return Value
| Type |
Description |
| Collection<PSObject> |
A collection of powershell objects |