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
Gets or sets the credentials to use when connecting
- Assembly
- Cake
.Powershell .dll - Namespace
- Cake
.Powershell - Containing Type
- Powershell
Settings Extensions
Syntax
public static PowershellSettings UsePassword(this PowershellSettings settings, string password)
Parameters
Name | Type | Description |
---|---|---|
settings | PowershellSettings | The powershell settings. |
password | string | The password to connect with. |
Return Value
Type | Description |
---|---|
PowershellSettings | The same PowershellSettings instance so that multiple calls can be chained. |