IPowershellRunner Interface

Summary

Responsible for executing powershell scripts.
Assembly
Cake.Powershell.dll
Namespace
Cake.Powershell
Implementing Types
graph BT Type["IPowershellRunner"] class Type type-node Implementing0["PowershellRunner"]-.->Type click Implementing0 "/api/Cake.Powershell/PowershellRunner"

Syntax

public interface IPowershellRunner

Methods

Name Value Summary
Start(FilePath, PowershellSettings) Collection<PSObject>
Starts a powershell script using the specified information.
Start(string, PowershellSettings) Collection<PSObject>
Starts a powershell script using the specified information.
Start(Uri, FilePath, PowershellSettings) Collection<PSObject>
Starts a powershell script using the specified information.

Extension Methods

Name Value Summary
Dump<IPowershellRunner>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IPowershellRunner>(IPowershellRunner[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IPowershellRunner>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<IPowershellRunner>(string) void
Requires the Cake.Issues addin
ThrowIfNull<IPowershellRunner>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<IPowershellRunner>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin