René's URL Explorer Experiment


Title: import-module incorrectly reporting a loaded module was not found by SteveL-MSFT · Pull Request #5238 · PowerShell/PowerShell · GitHub

Open Graph Title: import-module incorrectly reporting a loaded module was not found by SteveL-MSFT · Pull Request #5238 · PowerShell/PowerShell

X Title: import-module incorrectly reporting a loaded module was not found by SteveL-MSFT · Pull Request #5238 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: missing break after module was loaded successfully so loop continues but module isn't "found" and thus reports error even though loaded Fix #5232

X Description: missing break after module was loaded successfully so loop continues but module isn't "found" and thus reports error even though loaded Fix #5232

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/5238

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3bb79b91-67f4-e3cd-302e-3543907cd1d3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD502:29A2CF:82AE2B:BD18EC:6AFD8634
html-safe-nonce6832603dbf52dc438989f0d1a8f7453fad7557d37afc90c47b0c76f383af0b27
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTAyOjI5QTJDRjo4MkFFMkI6QkQxOEVDOjZBRkQ4NjM0IiwidmlzaXRvcl9pZCI6Ijg1MTA2MTgzOTc2NTI2NDk1MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacad87f4f99eeea5eebd0701da953561179ad67cec86cfb8836af18e2ff6e41476
hovercard-subject-tagpull_request:148785244
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/5238/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bc131b28d80a4692dbfd73cf01a44eeda51c91b9d258f75cef431523fe7a6864/PowerShell/PowerShell/pull/5238
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bc131b28d80a4692dbfd73cf01a44eeda51c91b9d258f75cef431523fe7a6864/PowerShell/PowerShell/pull/5238
og:image:altmissing break after module was loaded successfully so loop continues but module isn't "found" and thus reports error even though loaded Fix #5232
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSteveL-MSFT
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
turbo-cache-controlno-cache
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
release927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/5238#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F5238
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%2Fpull%2F5238
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/5238
Reloadhttps://github.com/PowerShell/PowerShell/pull/5238
Reloadhttps://github.com/PowerShell/PowerShell/pull/5238
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 requests366 (366)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
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:import-modulehttps://github.com/SteveL-MSFT/PowerShell/tree/import-module
Conversationhttps://github.com/PowerShell/PowerShell/pull/5238
Commits2 (2)https://github.com/PowerShell/PowerShell/pull/5238/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/5238/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/5238/files
import-module incorrectly reporting a loaded module was not foundhttps://github.com/PowerShell/PowerShell/pull/5238#top
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:import-modulehttps://github.com/SteveL-MSFT/PowerShell/tree/import-module
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Oct 25, 2017https://github.com/PowerShell/PowerShell/pull/5238#issue-268554804
#5232https://github.com/PowerShell/PowerShell/issues/5232
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/SteveL-MSFT
import-module incorrectly reporting a loaded module was not foundhttps://github.com/PowerShell/PowerShell/pull/5238/commits/f45491c07d98224638dc6f38fafb48ade38a1193
f45491chttps://github.com/PowerShell/PowerShell/pull/5238/commits/f45491c07d98224638dc6f38fafb48ade38a1193
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Oct 25, 2017https://github.com/PowerShell/PowerShell/pull/5238#event-1310791170
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Paul Higinbotham (PaulHigin)https://github.com/PaulHigin
October 25, 2017 21:25https://github.com/PowerShell/PowerShell/pull/5238#event-1310791175
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Bruce Payette (BrucePay)https://github.com/BrucePay
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Jason Shirk (lzybkr)https://github.com/lzybkr
code ownershttps://github.com/PowerShell/PowerShell/blob/0c98b7e9635d94ac008a3f4cd27c25fbfe440d77/.github/CODEOWNERS#L44
October 25, 2017 21:25https://github.com/PowerShell/PowerShell/pull/5238#event-1310791182
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Oct 25, 2017 https://github.com/PowerShell/PowerShell/pull/5238#pullrequestreview-72019072
View reviewed changes https://github.com/PowerShell/PowerShell/pull/5238/files/f45491c07d98224638dc6f38fafb48ade38a1193
https://github.com/SteveL-MSFT
[feature]https://github.com/PowerShell/PowerShell/pull/5238/commits/daa1ce3250932f13e73c8bb7bdabc0480e4f7c80
daa1ce3https://github.com/PowerShell/PowerShell/pull/5238/commits/daa1ce3250932f13e73c8bb7bdabc0480e4f7c80
https://github.com/JamesWTruher
James Truher (JamesWTruher)https://github.com/JamesWTruher
Oct 25, 2017 https://github.com/PowerShell/PowerShell/pull/5238#pullrequestreview-72019446
View reviewed changes https://github.com/PowerShell/PowerShell/pull/5238/files/f45491c07d98224638dc6f38fafb48ade38a1193
test/powershell/Modules/Microsoft.PowerShell.Core/Import-Module.Tests.ps1https://github.com/PowerShell/PowerShell/pull/5238/files/f45491c07d98224638dc6f38fafb48ade38a1193#diff-f3da09f05a2256df4921b8dffeac44bec68ef5ebd32c130da72d921a88b54798
James Truher (JamesWTruher)https://github.com/JamesWTruher
Oct 25, 2017https://github.com/PowerShell/PowerShell/pull/5238#discussion_r146992947
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Oct 25, 2017https://github.com/PowerShell/PowerShell/pull/5238#discussion_r146994268
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Oct 25, 2017https://github.com/PowerShell/PowerShell/pull/5238#issuecomment-339478293
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Oct 25, 2017https://github.com/PowerShell/PowerShell/pull/5238#issuecomment-339479828
Dongbo Wang (@daxian-dbw)https://github.com/daxian-dbw
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/PaulHigin
Paul Higinbotham (PaulHigin)https://github.com/PaulHigin
Oct 25, 2017 https://github.com/PowerShell/PowerShell/pull/5238#pullrequestreview-72026603
View reviewed changes https://github.com/PowerShell/PowerShell/pull/5238/files/daa1ce3250932f13e73c8bb7bdabc0480e4f7c80
Paul Higinbotham (PaulHigin)https://github.com/PaulHigin
https://github.com/PowerShell/PowerShell/pull/5238#pullrequestreview-72026603
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Oct 25, 2017https://github.com/PowerShell/PowerShell/pull/5238#issuecomment-339485347
Dongbo Wang (@daxian-dbw)https://github.com/daxian-dbw
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Oct 25, 2017https://github.com/PowerShell/PowerShell/pull/5238#issuecomment-339489119
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
Homebrew/homebrew-cask#40043https://github.com/Homebrew/homebrew-cask/pull/40043
Aditya Patwardhan (@adityapatwardhan)https://github.com/adityapatwardhan
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Oct 25, 2017https://github.com/PowerShell/PowerShell/pull/5238#issuecomment-339489956
Dongbo Wang (@daxian-dbw)https://github.com/daxian-dbw
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/adityapatwardhan
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
Oct 25, 2017https://github.com/PowerShell/PowerShell/pull/5238#issuecomment-339509207
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Oct 26, 2017https://github.com/PowerShell/PowerShell/pull/5238#issuecomment-339559743
James Truher (@JamesWTruher)https://github.com/JamesWTruher
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/JamesWTruher
James Truher (JamesWTruher)https://github.com/JamesWTruher
Oct 26, 2017 https://github.com/PowerShell/PowerShell/pull/5238#pullrequestreview-72343112
View reviewed changes https://github.com/PowerShell/PowerShell/pull/5238/files/daa1ce3250932f13e73c8bb7bdabc0480e4f7c80
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
967ed8bhttps://github.com/PowerShell/PowerShell/commit/967ed8b66416f6ad9a5aecea9207bed6f5289189
Oct 26, 2017https://github.com/PowerShell/PowerShell/pull/5238#event-1312851101
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
October 26, 2017 22:35https://github.com/PowerShell/PowerShell/pull/5238#event-1312955553
Matt Gucci (matt9ucci)https://github.com/matt9ucci
Nov 6, 2017 https://github.com/PowerShell/PowerShell/pull/5238#ref-commit-c80b36c
https://github.com/matt9ucci
A workaround forhttps://github.com/matt9ucci/PSProfiles/commit/c80b36c6afbb2fb08e7d8428cc0287986b13d2ac
PowerShell/PowerShell#5238https://github.com/PowerShell/PowerShell/pull/5238
c80b36chttps://github.com/matt9ucci/PSProfiles/commit/c80b36c6afbb2fb08e7d8428cc0287986b13d2ac
Thatgfsj (Thatgfsj)https://github.com/Thatgfsj
Aug 6, 2026 https://github.com/PowerShell/PowerShell/pull/5238#ref-commit-41a0b2a
https://github.com/SteveL-MSFT
https://github.com/daxian-dbw
Fix 'Import-module' to not report a loaded module was not found (https://github.com/Thatgfsj-contribs/PowerShell/commit/41a0b2a179bf89ff8b89da14544e617c0b1438c8
Powe…https://github.com/PowerShell/PowerShell/pull/5238
41a0b2ahttps://github.com/Thatgfsj-contribs/PowerShell/commit/41a0b2a179bf89ff8b89da14544e617c0b1438c8
…rShell#5238https://github.com/PowerShell/PowerShell/pull/5238
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F5238
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw) https://github.com/daxian-dbw
https://github.com/PowerShell/PowerShell/pull/5238/files/f45491c07d98224638dc6f38fafb48ade38a1193
https://github.com/BrucePay
Bruce Payette (BrucePay) https://github.com/BrucePay
https://github.com/lzybkr
Jason Shirk (lzybkr) https://github.com/lzybkr
https://github.com/JamesWTruher
James Truher (JamesWTruher) https://github.com/JamesWTruher
https://github.com/PowerShell/PowerShell/pull/5238/files/daa1ce3250932f13e73c8bb7bdabc0480e4f7c80
https://github.com/PaulHigin
Paul Higinbotham (PaulHigin) https://github.com/PaulHigin
https://github.com/PowerShell/PowerShell/pull/5238/files/daa1ce3250932f13e73c8bb7bdabc0480e4f7c80
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw) https://github.com/daxian-dbw
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5238
https://github.com/SteveL-MSFT
https://github.com/daxian-dbw
https://github.com/adityapatwardhan
https://github.com/JamesWTruher
https://github.com/PaulHigin
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.