mirror of
https://github.com/Corsinvest/cv4pve-api-powershell.git
synced 2026-04-25 12:15:48 +03:00
[GH-ISSUE #26] Port check #19
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-api-powershell#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @patrickbuec on GitHub (Dec 5, 2024).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-powershell/issues/26
What happened?
The script takes the target address and the port as input and checks the connection using a ping. However, since ping is not allowed in our case, but the port is open.
Expected behavior
Please check the port in line 105. Suggest replacing
if (Test-Connection -Ping $hostTmp -BufferSize 16 -Count 1 -ea 0 -quiet) {with
if (Test-NetConnection -ComputerName $hostTmp -Port $portTmp) {Relevant log output
No response
Proxmox VE Version
8.2.7
Version (bug)
8.2.3
Version (working)
No response
On what operating system are you experiencing the issue?
Windows
Pull Request
@franklupo commented on GitHub (Dec 9, 2024):
Good idea. I'll check it out.
Best regards
sudopermissions #36