From 689aa0757454a2ecc1af3adef22609e5fa2ccb01 Mon Sep 17 00:00:00 2001 From: Soarinferret Date: Sat, 7 Sep 2024 19:06:34 -0500 Subject: [PATCH] Fixes #19 --- Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psm1 b/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psm1 index 06082c0..8737106 100644 --- a/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psm1 +++ b/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psm1 @@ -102,7 +102,7 @@ PveTicket. Return ticket connection. if ($data.Length -eq 2 ) { [int32]::TryParse($data[1] , [ref]$portTmp) | Out-Null } - if (Test-Connection -Ping $hostTmp -BufferSize 16 -Count 1 -ea 0 -quiet) { + if (Test-Connection -Ping $hostTmp -Count 1 -ea 0 -quiet) { $hostName = $hostTmp; $port = $portTmp; break;