PowershellSettingsExtensions.

UsePassword(PowershellSettings, string) Method

Summary

Gets or sets the credentials to use when connecting

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.