PwshScriptRunner.

RunScript(string, PowershellSettings) Method

Summary

Runs `pwsh` against the script and settings provided
Assembly
Cake.Powershell.dll
Namespace
Cake.Powershell.Runner
Containing Type
PwshScriptRunner

Syntax

public void RunScript(string script, PowershellSettings settings)

Parameters

Name Type Description
script string
settings PowershellSettings

Return Value

Type Description
void