René's URL Explorer Experiment


Title: Test-Connection 'hangs' after New-Object System.Windows.Forms.Form · Issue #11418 · PowerShell/PowerShell · GitHub

Open Graph Title: Test-Connection 'hangs' after New-Object System.Windows.Forms.Form · Issue #11418 · PowerShell/PowerShell

X Title: Test-Connection 'hangs' after New-Object System.Windows.Forms.Form · Issue #11418 · PowerShell/PowerShell

Description: Steps to reproduce Issue the following from a new pwsh session: Add-Type -AssemblyName System.Windows.Forms $MainForm = New-Object System.Windows.Forms.Form Test-Connection 'PC-IAN' Expected behavior Test-Connection should run and produc...

Open Graph Description: Steps to reproduce Issue the following from a new pwsh session: Add-Type -AssemblyName System.Windows.Forms $MainForm = New-Object System.Windows.Forms.Form Test-Connection 'PC-IAN' Expected behavi...

X Description: Steps to reproduce Issue the following from a new pwsh session: Add-Type -AssemblyName System.Windows.Forms $MainForm = New-Object System.Windows.Forms.Form Test-Connection 'PC-IAN' Expecte...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11418

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test-Connection 'hangs' after New-Object System.Windows.Forms.Form","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\nWindows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nThis repository is **ONLY** for PowerShell Core 6 and PowerShell 7+ issues.\r\n\r\n- Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6).\r\n\r\n-->\r\n\r\n# Steps to reproduce\r\n\r\n```\r\nIssue the following from a new pwsh session:\r\nAdd-Type -AssemblyName System.Windows.Forms\r\n$MainForm = New-Object System.Windows.Forms.Form\r\nTest-Connection 'PC-IAN'\r\n```\r\n\r\n# Expected behavior\r\n\r\n```\r\nTest-Connection should run and produce similar output to the following:\r\n\r\n\r\n   Destination: PC-IAN\r\n\r\nPing Source           Address                   Latency BufferSize Status\r\n                                                   (ms)        (B)\r\n---- ------           -------                   ------- ---------- ------\r\n   1 PC-IAN           fe80::5158:e71e:c447:7e86       0         32 Success\r\n   2 PC-IAN           fe80::5158:e71e:c447:7e86       0         32 Success\r\n   3 PC-IAN           fe80::5158:e71e:c447:7e86       0         32 Success\r\n   4 PC-IAN           fe80::5158:e71e:c447:7e86       0         32 Success\r\n```\r\n\r\n# Actual behavior\r\n\r\n```\r\nThe pwsh session ‘hangs’ (i.e. doesn’t respond at all after Test-Connection).\r\n\r\nTest-Connection produces the expected results if $MainForm = New-Object System.Windows.Forms.Form IS NOT run beforehand.\r\n\r\n$MainForm = New-Object System.Windows.Forms.Form is successful and the resulting form can be processed if Test-Connection IS NOT run afterwards.\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```\r\n\r\nName                           Value\r\n----                           -----\r\nPSVersion                      7.0.0-rc.1\r\nPSEdition                      Core\r\nGitCommitId                    7.0.0-rc.1\r\nOS                             Microsoft Windows 10.0.18363\r\nPlatform                       Win32NT\r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion      2.3\r\nSerializationVersion           1.1.0.1\r\nWSManStackVersion              3.0\r\n```\r\n","author":{"url":"https://github.com/IanBAdams","@type":"Person","name":"IanBAdams"},"datePublished":"2019-12-21T08:30:29Z","url":"https://github.com/PowerShell/PowerShell/issues/11418"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8cc9f1d9-4aa3-d7e5-4710-94d063eb43ad
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEC3C:2FD85A:139D4E:1AB88F:6AFD5D54
html-safe-nonce337c469099f10edf8612ef33a872677bd3f61a6b17a550a99daf94079dcd6988
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzNDOjJGRDg1QToxMzlENEU6MUFCODhGOjZBRkQ1RDU0IiwidmlzaXRvcl9pZCI6IjE4MjA1MTAwNzAxNzgxNDM1NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7e9490eafe18a0fcb221e9d5898824314e6ce906382b9126ca8b9998a314e83d
hovercard-subject-tagissue:541301220
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/11418/issue_layout
twitter:imagehttps://opengraph.githubassets.com/32a340deb9e74157dfc5c388b0c088c5afe53ebe0c204e65e667533f6da6b103/PowerShell/PowerShell/issues/11418
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/32a340deb9e74157dfc5c388b0c088c5afe53ebe0c204e65e667533f6da6b103/PowerShell/PowerShell/issues/11418
og:image:altSteps to reproduce Issue the following from a new pwsh session: Add-Type -AssemblyName System.Windows.Forms $MainForm = New-Object System.Windows.Forms.Form Test-Connection 'PC-IAN' Expected behavi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameIanBAdams
hostnamegithub.com
expected-hostnamegithub.com
None66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb6f01f7cb9f35f8c09949773241a3d49dd04b340
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/11418#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F11418
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F11418
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/11418
Reloadhttps://github.com/PowerShell/PowerShell/issues/11418
Reloadhttps://github.com/PowerShell/PowerShell/issues/11418
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests365 (365)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/11418
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/11418
#11517https://github.com/PowerShell/PowerShell/pull/11517
Test-Connection 'hangs' after New-Object System.Windows.Forms.Formhttps://github.com/PowerShell/PowerShell/issues/11418#top
#11517https://github.com/PowerShell/PowerShell/pull/11517
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
https://github.com/IanBAdams
IanBAdamshttps://github.com/IanBAdams
on Dec 21, 2019https://github.com/PowerShell/PowerShell/issues/11418#issue-541301220
IanBAdamshttps://github.com/IanBAdams
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
on Dec 21, 2019https://github.com/PowerShell/PowerShell/issues/11418#event-2902584140
https://github.com/doctordns
Thomas Lee (doctordns)https://github.com/doctordns
on Dec 21, 2019https://github.com/PowerShell/PowerShell/issues/11418#issuecomment-568169439
https://github.com/vexx32
Rain Sallow (/u/ta11ow) (vexx32)https://github.com/vexx32
on Dec 21, 2019https://github.com/PowerShell/PowerShell/issues/11418#issuecomment-568171791
https://github.com/SeeminglyScience
Patrick Meinecke (SeeminglyScience)https://github.com/SeeminglyScience
on Dec 23, 2019https://github.com/PowerShell/PowerShell/issues/11418#issuecomment-568472948
https://github.com/vexx32
Rain Sallow (/u/ta11ow) (vexx32)https://github.com/vexx32
on Dec 23, 2019https://github.com/PowerShell/PowerShell/issues/11418#issuecomment-568487690
Patrick Meinecke (@SeeminglyScience)https://github.com/SeeminglyScience
https://github.com/SeeminglyScience
Patrick Meinecke (SeeminglyScience)https://github.com/SeeminglyScience
on Dec 23, 2019https://github.com/PowerShell/PowerShell/issues/11418#issuecomment-568493461
https://github.com/IanBAdams
IanBAdamshttps://github.com/IanBAdams
on Dec 23, 2019https://github.com/PowerShell/PowerShell/issues/11418#issuecomment-568496894
Patrick Meinecke (@SeeminglyScience)https://github.com/SeeminglyScience
https://github.com/vexx32
Rain Sallow (/u/ta11ow) (vexx32)https://github.com/vexx32
on Dec 23, 2019https://github.com/PowerShell/PowerShell/issues/11418#issuecomment-568517290
Dongbo Wang (@daxian-dbw)https://github.com/daxian-dbw
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Dec 23, 2019https://github.com/PowerShell/PowerShell/issues/11418#issuecomment-568553779
Rain Sallow (/u/ta11ow) (@vexx32)https://github.com/vexx32
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
on Jan 8, 2020https://github.com/PowerShell/PowerShell/issues/11418#issuecomment-571843251
Rain Sallow (/u/ta11ow) (@vexx32)https://github.com/vexx32
Patrick Meinecke (@SeeminglyScience)https://github.com/SeeminglyScience
#11517https://github.com/PowerShell/PowerShell/pull/11517
Ilya (iSazonov)https://github.com/iSazonov
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#11517https://github.com/PowerShell/PowerShell/pull/11517
on Jan 22, 2020https://github.com/PowerShell/PowerShell/issues/11418#event-2968554346
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/11418
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/11418
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.