PSRemotingCmdlet.ResolveShell(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.