Udostępnij za pośrednictwem


PSRemotingBaseCmdlet.ValidateComputerName(String[]) Method

Definition

Validates computer names to check if none of them happen to be a Uri. If so this throws an error.

protected:
 void ValidateComputerName(cli::array <System::String ^> ^ computerNames);
protected:
 void ValidateComputerName(Platform::Array <Platform::String ^> ^ computerNames);
void ValidateComputerName(std::Array <std::wstring const &> const & computerNames);
protected void ValidateComputerName (string[] computerNames);
member this.ValidateComputerName : string[] -> unit
Protected Sub ValidateComputerName (computerNames As String())

Parameters

computerNames
String[]

collection of computer names to validate

Applies to