PowershellSettingsExtensions.

WithArguments(PowershellSettings, Action<ProcessArgumentBuilder>) Method

Summary

Sets the arguments for the powershell command

Syntax

public static PowershellSettings WithArguments(this PowershellSettings settings, Action<ProcessArgumentBuilder> arguments)

Parameters

Name Type Description
settings PowershellSettings The powershell settings.
arguments Action<ProcessArgumentBuilder> The arguments to append.

Return Value

Type Description
PowershellSettings The same PowershellSettings instance so that multiple calls can be chained.