Title: Increase output detail of Test-Connection when performing a tcp connection test · Issue #11440 · PowerShell/PowerShell · GitHub
Open Graph Title: Increase output detail of Test-Connection when performing a tcp connection test · Issue #11440 · PowerShell/PowerShell
X Title: Increase output detail of Test-Connection when performing a tcp connection test · Issue #11440 · PowerShell/PowerShell
Description: Increase output detail of Test-Connection when performing a tcp connection test My proposed change is to provide more detail when using Test-Connection cmdlet with the -TCPPort option. This would bring the command more in line with the c...
Open Graph Description: Increase output detail of Test-Connection when performing a tcp connection test My proposed change is to provide more detail when using Test-Connection cmdlet with the -TCPPort option. This would b...
X Description: Increase output detail of Test-Connection when performing a tcp connection test My proposed change is to provide more detail when using Test-Connection cmdlet with the -TCPPort option. This would b...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11440
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Increase output detail of Test-Connection when performing a tcp connection test ","articleBody":"# Increase output detail of Test-Connection when performing a tcp connection test \r\n\r\nMy proposed change is to provide more detail when using `Test-Connection` cmdlet with the `-TCPPort` option. This would bring the command more in line with the classic `Test-NetConnection` cmdlet. \r\n\r\nCurrently, the returned value when performing this test is a boolean true / false. This provides some insight into if the connection was successful but not too much else. Here's an example output:\r\n\r\n Test-Connection google.com -TCPPort 443\r\n\r\n True\r\n\r\nMy proposed changes would provide more detail to the output. Here's an example of what that output might look like:\r\n\r\n Test-Connection google.com -TCPPort 443\r\n\r\n Source : Jack-PC\r\n SourceAddress : 192.168.1.1\r\n Destination : google.com\r\n DestinationAddress : 216.58.217.46\r\n Port : 443\r\n Latency : 16\r\n TestResult : Success\r\n\r\nTo provide the original behaviour, we can implement the existing -quiet option:\r\n\r\n Test-Connection google.com -TCPPort 443 -Quiet\r\n\r\n True\r\n\r\nIn my dayjob, I use the classic `Test-NetConnection` cmdlet all the time to troubleshoot network connectivity issues. I find the added output incredibly valuable. I believe this would increase the usability of this command by a fair bit. \r\n\r\nI have forked the repository and have these changes implemented. However, before submitting any pull request I wanted to engage the community, as this is changing an existing implementation. \r\n\r\nPlease let me know what you think! I am new to this community, and would love any feedback of any kind :) \r\n","author":{"url":"https://github.com/jackdcasey","@type":"Person","name":"jackdcasey"},"datePublished":"2019-12-27T05:27:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":33},"url":"https://github.com/11440/PowerShell/issues/11440"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5c3a8e0d-3cc6-5ba3-3afb-ba23a441426c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A888:31BCA3:6984D0:8DA5F1:6A56E651 |
| html-safe-nonce | fe3713966c867d7917d33a4f51f6335c38a0e3b68a92f171921ba16f0184c06f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODg4OjMxQkNBMzo2OTg0RDA6OERBNUYxOjZBNTZFNjUxIiwidmlzaXRvcl9pZCI6IjY2NDQ2NTU5NTMwODUzOTI0NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2b06414e5f42301cc07c72820851480acb108a7e01fc15f498a8257a65d09372 |
| hovercard-subject-tag | issue:542750000 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/11440/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b3499e593bdb6964fdef3721ded784d1273c453d4b1c01578207f769e4d3179e/PowerShell/PowerShell/issues/11440 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b3499e593bdb6964fdef3721ded784d1273c453d4b1c01578207f769e4d3179e/PowerShell/PowerShell/issues/11440 |
| og:image:alt | Increase output detail of Test-Connection when performing a tcp connection test My proposed change is to provide more detail when using Test-Connection cmdlet with the -TCPPort option. This would b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jackdcasey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5220a278731283038daf0ed00b41f06ef7ff9539020ecc806c5c5a0fb6bda25a |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8684ae1a81cd3e4ef219b241179982bbda1a5b1f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width