共用方式為


PSRemotingCmdlet.ResolveComputerNames(String[], String[]) Method

Definition

Resolve all the machine names provided. Basically, if a machine name is '.' assume localhost.

protected:
 void ResolveComputerNames(cli::array <System::String ^> ^ computerNames, [Runtime::InteropServices::Out] cli::array <System::String ^> ^ % resolvedComputerNames);
void ResolveComputerNames(std::Array <std::wstring const &> const & computerNames, [Runtime::InteropServices::Out] std::Array <std::wstring const &> const & & resolvedComputerNames);
protected void ResolveComputerNames (string[] computerNames, out string[] resolvedComputerNames);
member this.ResolveComputerNames : string[] * String[] -> unit
Protected Sub ResolveComputerNames (computerNames As String(), ByRef resolvedComputerNames As String())

Parameters

computerNames
String[]

Array of computer names to resolve.

resolvedComputerNames
String[]

Resolved array of machine names.

Applies to