🧾 PWI Connection Test 🏓❌🏓

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 1

  • @Meridian_PW_Global
    @Meridian_PW_Global  Місяць тому

    ---------------------------------------------------------------------
    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