PowershellAliases Class

Summary

Contains Cake aliases for running Powershell commands.
Assembly
Cake.Powershell.dll
Namespace
Cake.Powershell
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["PowershellAliases"] class Type type-node

Syntax

public static class PowershellAliases

Attributes

Type Description
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Methods

Name Value Summary
StartPowershellDownload(ICakeContext, Uri, FilePath, Action<ProcessArgumentBuilder>) Collection<PSObject>
Starts a powershell script using the specified information.
static
StartPowershellDownload(ICakeContext, Uri, FilePath, PowershellSettings) Collection<PSObject>
Starts a powershell script using the specified information.
static
StartPowershellDownload(ICakeContext, Uri, FilePath) Collection<PSObject>
Starts a powershell script using the specified information.
static
StartPowershellFile(ICakeContext, FilePath, Action<ProcessArgumentBuilder>) Collection<PSObject>
Starts a powershell script using the specified information.
static
StartPowershellFile(ICakeContext, FilePath, PowershellSettings) Collection<PSObject>
Starts a powershell script using the specified information.
static
StartPowershellFile(ICakeContext, FilePath) Collection<PSObject>
Starts a powershell script using the specified information.
static
StartPowershellScript(ICakeContext, string, Action<ProcessArgumentBuilder>) Collection<PSObject>
Starts a powershell script using the specified information.
static
StartPowershellScript(ICakeContext, string, PowershellSettings) Collection<PSObject>
Starts a powershell script using the specified information.
static
StartPowershellScript(ICakeContext, string) Collection<PSObject>
Starts a powershell script using the specified information.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin