PowershellSettingsExtensions.

WithModule(PowershellSettings, string) Method

Summary

Adds the specified module to load into the initial state

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.