PowershellSettingsExtensions.

UsePort(PowershellSettings, int) Method

Summary

Sets the remote port to connect on.

Syntax

public static PowershellSettings UsePort(this PowershellSettings settings, int port)

Parameters

Name Type Description
settings PowershellSettings The powershell settings.
port int The remote port to connext on.

Return Value

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