is it possible to use some short names / aliases for values in Array ? For example, we must test connection to FDQN but we would like to display result as short names.
$array = @( "youtube.com" , "google.com" )
$result = test-connection $array -count 1 -asjob | receive-job -wait
$result | select Address,ResponseTime | sort-object -Property ResponseTime
write-host "Fastest server is: <alias> "
Aliases: GG = google.com YT = youtube.com