PSRemotingCmdlet.ResolveShell(String) Method

Definition

Determines the shellname to use based on the following order: 1. ShellName parameter specified 2. DEFAULTREMOTESHELLNAME variable set 3. PowerShell.

protected:
 System::String ^ ResolveShell(System::String ^ shell);
protected:
 Platform::String ^ ResolveShell(Platform::String ^ shell);
std::wstring ResolveShell(std::wstring const & shell);
protected string ResolveShell (string shell);
member this.ResolveShell : string -> string
Protected Function ResolveShell (shell As String) As String

Parameters

shell
String

Returns

The shell to launch in the remote machine.

Applies to