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
Contains extension methods for
PowershellSettings.
- Assembly
- Cake
.Powershell .dll - Namespace
- Cake
.Powershell - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["PowershellSettingsExtensions"]
class Type type-node
Syntax
public static class PowershellSettingsExtensions
Methods
| Name | Value | Summary |
|---|---|---|
| Bypass |
PowershellSettings |
Sets a value indicating whether security should be set to unrestricted.
static
|
| OutputToAppConsole |
PowershellSettings |
Sets a value indicating whether the output of an application is written to its on-screen console.
static
|
| SetFormatOutput |
PowershellSettings |
Sets a value indicating whether the output of an application should be formatted as text
static
|
| SetLogOutput |
PowershellSettings |
Sets a value indicating whether the output of an application is written to the cake console
static
|
| SetTimeout |
PowershellSettings |
Sets the optional timeout for powershell command
static
|
| Use |
PowershellSettings |
Sets the authentication mechanism to use when connecting
static
|
| UseComputerName |
PowershellSettings |
Sets the computer name to connect to
static
|
| UsePassword |
PowershellSettings |
Gets or sets the credentials to use when connecting
static
|
| UsePort |
PowershellSettings |
Sets the remote port to connect on.
static
|
| UseUsername |
PowershellSettings |
Gets or sets the credentials to use when connecting
static
|
| UseWorkingDirectory |
PowershellSettings |
Sets the working directory for the process to be started.
static
|
| WithArguments |
PowershellSettings |
Sets the arguments for the powershell command
static
|
| WithDotSourcing |
PowershellSettings |
Executes scripts using dot sourcing
static
|
| WithModule |
PowershellSettings |
Adds the specified module to load into the initial state
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
