Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
---------------------------------------------------------------------Write-Host ""Write-Host ""Write-Host ""Write-Host ""Write-Host ""Write-Host ""Write-Host ""$servers = @{ "Tideswell"="pwieast2.playpwi.com" "Dawnglory"="pwieu3.en.perfectworld.eu" "Etherblade"="pwiwest4.playpwi.com" "Twilight Temple"="pwigc2.playpwi.com"}$ports = 29000..29003foreach ($serverName in $servers.Keys) { Write-Host "$serverName" foreach ($port in $ports) { $server = $servers[$serverName] $result = Test-NetConnection -ComputerName $server -Port $port $srv_port = "- $server`:$port" Write-Host $result.TcpTestSucceeded $srv_port } Write-Host ""}---------------------------------------------------------------------@Echo Onpowershell -ExecutionPolicy Bypass -File "ConnectionTest.ps1"pause---------------------------------------------------------------------set server=powershell tnc %server% -port 29003 -InformationLevel Quietpause
---------------------------------------------------------------------
Write-Host ""
Write-Host ""
Write-Host ""
Write-Host ""
Write-Host ""
Write-Host ""
Write-Host ""
$servers = @{
"Tideswell"="pwieast2.playpwi.com"
"Dawnglory"="pwieu3.en.perfectworld.eu"
"Etherblade"="pwiwest4.playpwi.com"
"Twilight Temple"="pwigc2.playpwi.com"
}
$ports = 29000..29003
foreach ($serverName in $servers.Keys) {
Write-Host "$serverName"
foreach ($port in $ports) {
$server = $servers[$serverName]
$result = Test-NetConnection -ComputerName $server -Port $port
$srv_port = "- $server`:$port"
Write-Host $result.TcpTestSucceeded $srv_port
}
Write-Host ""
}
---------------------------------------------------------------------
@Echo On
powershell -ExecutionPolicy Bypass -File "ConnectionTest.ps1"
pause
---------------------------------------------------------------------
set server=
powershell tnc %server% -port 29003 -InformationLevel Quiet
pause