PowershellSettingsExtensions.

UseComputerName(PowershellSettings, string) Method

Summary

Sets the computer name to connect to

Syntax

public static PowershellSettings UseComputerName(this PowershellSettings settings, string name)

Parameters

Name Type Description
settings PowershellSettings The powershell settings.
name string The computer name

Return Value

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