Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vadash authored Jan 22, 2025
1 parent 1b88f85 commit 5ba7304
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,15 @@ foreach ($ip in $ipList) {
}
}
# Output the filtered IP addresses as comma-separated values
$filteredIPs -join ','
# Create comma-separated string and copy to clipboard
if ($filteredIPs.Count -gt 0) {
$output = $filteredIPs -join ','
$output | Set-Clipboard
$output # Display results in console
} else {
Write-Warning "No IP addresses matched the latency criteria"
"" | Set-Clipboard # Clear clipboard if no results
}
```

# 📝 Credits
Expand Down

0 comments on commit 5ba7304

Please sign in to comment.