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
Adds the specified module to load into the initial state
- Assembly
- Cake
.Powershell .dll - Namespace
- Cake
.Powershell - Containing Type
- Powershell
Settings Extensions
Syntax
public static PowershellSettings WithModule(this PowershellSettings settings, string module)
Parameters
Name | Type | Description |
---|---|---|
settings | PowershellSettings | The powershell settings. |
module | string | The module to load. |
Return Value
Type | Description |
---|---|
PowershellSettings | The same PowershellSettings instance so that multiple calls can be chained. |