René's URL Explorer Experiment


Title: Add new MissingTryBlock rule by iRon7 · Pull Request #2179 · PowerShell/PSScriptAnalyzer · GitHub

Open Graph Title: Add new MissingTryBlock rule by iRon7 · Pull Request #2179 · PowerShell/PSScriptAnalyzer

X Title: Add new MissingTryBlock rule by iRon7 · Pull Request #2179 · PowerShell/PSScriptAnalyzer

Description: Download ScriptAnalyzer from PowerShellGallery. Contribute to PowerShell/PSScriptAnalyzer development by creating an account on GitHub.

Open Graph Description: PR Summary Although #2098 didn't get an up-for-graps label, I did create the suggested Add new MissingTryBlock rule to warn when catch or finally blocks are not preceded by a try block because...

X Description: PR Summary Although #2098 didn't get an up-for-graps label, I did create the suggested Add new MissingTryBlock rule to warn when catch or finally blocks are not preceded by a try block bec...

Opengraph URL: https://github.com/PowerShell/PSScriptAnalyzer/pull/2179

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:0dfc8222-f042-5e69-d834-7505b38f0b01
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id874A:1103D1:132B7D:1994F6:6AFCDCC6
html-safe-nonce4d4c3c3d2dfa3bc3afe37e5afd12c2c412ba9a1d2bc14351c439706de8af9104
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzRBOjExMDNEMToxMzJCN0Q6MTk5NEY2OjZBRkNEQ0M2IiwidmlzaXRvcl9pZCI6Ijc1NTk1OTAyMDE2ODU0OTkwNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac77deacbf76e19023a6a480ff39ada593ae11f9e72a0ef2a8790ebfbc5506515f
hovercard-subject-tagpull_request:3568520393
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/PSScriptAnalyzer/2179/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dc21de9a7633762464a704ecb01099197ec93e7c2ebb4e00f8356ed486c4c831/PowerShell/PSScriptAnalyzer/pull/2179
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dc21de9a7633762464a704ecb01099197ec93e7c2ebb4e00f8356ed486c4c831/PowerShell/PSScriptAnalyzer/pull/2179
og:image:altPR Summary Although #2098 didn't get an up-for-graps label, I did create the suggested Add new MissingTryBlock rule to warn when catch or finally blocks are not preceded by a try block because...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameiRon7
hostnamegithub.com
expected-hostnamegithub.com
None0c05b7eb5b95e29725d01bb1f560a020e3fafd0f033c6b9ed3918fa3161254dd
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PSScriptAnalyzer git https://github.com/PowerShell/PSScriptAnalyzer.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id33149177
octolytics-dimension-repository_nwoPowerShell/PSScriptAnalyzer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33149177
octolytics-dimension-repository_network_root_nwoPowerShell/PSScriptAnalyzer
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
release79d9154e55368884c8c93766ba4fee076343d37f
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2179
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%2FPSScriptAnalyzer%2Fpull%2F2179
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%2FPSScriptAnalyzer
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
PowerShellhttps://github.com/PowerShell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
Codehttps://github.com/PowerShell/PSScriptAnalyzer
Issues407 (407)https://github.com/PowerShell/PSScriptAnalyzer/issues
Pull requests34 (34)https://github.com/PowerShell/PSScriptAnalyzer/pulls
Discussionshttps://github.com/PowerShell/PSScriptAnalyzer/discussions
Actionshttps://github.com/PowerShell/PSScriptAnalyzer/actions
Projectshttps://github.com/PowerShell/PSScriptAnalyzer/projects
Wikihttps://github.com/PowerShell/PSScriptAnalyzer/wiki
Security and qualityhttps://github.com/PowerShell/PSScriptAnalyzer/security
Insightshttps://github.com/PowerShell/PSScriptAnalyzer/insights
https://github.com/PowerShell/PSScriptAnalyzer
Andy Jordan (andyleejordan)https://github.com/andyleejordan
PowerShell:mainhttps://github.com/PowerShell/PSScriptAnalyzer/tree/main
iRon7:#2098MissingTryBlockhttps://github.com/iRon7/PSScriptAnalyzer/tree/%232098MissingTryBlock
Conversationhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Commits16 (16)https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits
Checkshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/checks
Files changedhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files
Add new MissingTryBlock rulehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179#top
Andy Jordan (andyleejordan)https://github.com/andyleejordan
PowerShell:mainhttps://github.com/PowerShell/PSScriptAnalyzer/tree/main
iRon7:#2098MissingTryBlockhttps://github.com/iRon7/PSScriptAnalyzer/tree/%232098MissingTryBlock
https://github.com/iRon7
iRon7https://github.com/iRon7
Apr 22, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#issue-4310549678
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
#2098https://github.com/PowerShell/PSScriptAnalyzer/issues/2098
#1700https://github.com/PowerShell/PSScriptAnalyzer/issues/1700
#2098https://github.com/PowerShell/PSScriptAnalyzer/issues/2098
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Change is not breakinghttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Make sure all .cs, .ps1 and .psm1 files have the correct copyright headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
https://github.com/iRon7
PowerShell#2098https://github.com/PowerShell/PSScriptAnalyzer/issues/2098
Add new MissingTryBlock rulehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/1da47c4204d73f1c22904d5a5426b3b3e351d6cd
1da47c4https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/1da47c4204d73f1c22904d5a5426b3b3e351d6cd
https://github.com/iRon7
iRon7https://github.com/iRon7
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Mikey Lombardi (He/Him) (michaeltlombardi)https://github.com/michaeltlombardi
Sean Wheeler (sdwheeler)https://github.com/sdwheeler
code ownershttps://github.com/PowerShell/PSScriptAnalyzer/blob/a143b9ff8b54ccbae1224c593bd78b6f46579b14/.github/CODEOWNERS#L2
April 22, 2026 16:52https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#event-24764526195
https://github.com/iRon7
iRon7https://github.com/iRon7
Apr 22, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#event-24765100541
https://github.com/liamjpeters
Liam Peters (liamjpeters)https://github.com/liamjpeters
Apr 28, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#issuecomment-4338042409
your other PRhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2178
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
https://github.com/iRon7
iRon7https://github.com/iRon7
Apr 28, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#event-24960756818
https://github.com/iRon7
Changed severity level of MissingTryBlock rule from Error to Warning …https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/e9a23659092dd342ac9f13df050a519ce9681fce
e9a2365https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/e9a23659092dd342ac9f13df050a519ce9681fce
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
April 29, 2026 14:49https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#event-24995609682
started reviewinghttps://github.com/PowerShell/PSScriptAnalyzer/sessions/acfcd2a1-c915-488c-bd5f-23c87de3d02a
iRon7https://github.com/iRon7
April 29, 2026 14:51https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#event-24995689450
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/acfcd2a1-c915-488c-bd5f-23c87de3d02a
https://github.com/iRon7
Updated tests for MissingTryBlock rule to reflect severity change fro…https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/50f751fd1577f30e7abcd4f309fd1b5f42e67e3c
50f751fhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/50f751fd1577f30e7abcd4f309fd1b5f42e67e3c
https://github.com/iRon7
iRon7https://github.com/iRon7
Apr 29, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#event-24995922336
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4198147677
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/50f751fd1577f30e7abcd4f309fd1b5f42e67e3c
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4198147677
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/PowerShell/PSScriptAnalyzer/new/main?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Tests/Rules/MissingTryBlock.tests.ps1https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/50f751fd1577f30e7abcd4f309fd1b5f42e67e3c#diff-bb0c19e57fc38e9e508c8796d566759ab6e69417f512f34b378bcbd3ea16eea7
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
docs/Rules/MissingTryBlock.mdhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/50f751fd1577f30e7abcd4f309fd1b5f42e67e3c#diff-c550c673ceaa20e35b51c48d6a96a4897c87e98d0dba8e96ae19890d9f71b5fa
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Rules/Strings.resxhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/50f751fd1577f30e7abcd4f309fd1b5f42e67e3c#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Rules/MissingTryBlock.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/50f751fd1577f30e7abcd4f309fd1b5f42e67e3c#diff-2876863764cb46be2459fbfa9ed8c288311e581234cf7ff1f6441069cc479127
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Rules/MissingTryBlock.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/50f751fd1577f30e7abcd4f309fd1b5f42e67e3c#diff-2876863764cb46be2459fbfa9ed8c288311e581234cf7ff1f6441069cc479127
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Rules/MissingTryBlock.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/50f751fd1577f30e7abcd4f309fd1b5f42e67e3c#diff-2876863764cb46be2459fbfa9ed8c288311e581234cf7ff1f6441069cc479127
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
iRon7https://github.com/iRon7
April 29, 2026 17:37https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#commits-pushed-79e80aa
https://github.com/iRon7
https://github.com/apps/copilot-pull-request-reviewer
Update Rules/MissingTryBlock.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/79e80aa4ce93a553714e431a98baac4bb9e26a7b
79e80aahttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/79e80aa4ce93a553714e431a98baac4bb9e26a7b
https://github.com/iRon7
Grammar: “which is likely a mistake and result in … error” is ungramm…https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/47507bbc695525bf238b7e174e71727258daaeac
47507bbhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/47507bbc695525bf238b7e174e71727258daaeac
https://github.com/iRon7
Merge branch '#2098MissingTryBlock' ofhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/449fdd109752e226e9bf657ece3798c36c038263
https://github.com/iRon7/PSScr…https://github.com/iRon7/PSScriptAnalyzer
449fdd1https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/449fdd109752e226e9bf657ece3798c36c038263
…iptAnalyzerhttps://github.com/iRon7/PSScriptAnalyzer
https://github.com/iRon7
https://github.com/apps/copilot-pull-request-reviewer
Update Rules/Strings.resxhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/e1a8d3f5ba6ef404f9993b21961a893c198a07f2
e1a8d3fhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/e1a8d3f5ba6ef404f9993b21961a893c198a07f2
https://github.com/iRon7
https://github.com/apps/copilot-pull-request-reviewer
Update Rules/MissingTryBlock.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/a42082080af70731afc9286ce3c6f8c16aea9899
a420820https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/a42082080af70731afc9286ce3c6f8c16aea9899
https://github.com/iRon7
minor but worthwhilehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/216645d8f716a858e3fd293a91690d222a997042
216645dhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/216645d8f716a858e3fd293a91690d222a997042
https://github.com/andyleejordan
Andy Jordan (andyleejordan)https://github.com/andyleejordan
May 5, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4231355383
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/a42082080af70731afc9286ce3c6f8c16aea9899
Andy Jordan (andyleejordan)https://github.com/andyleejordan
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4231355383
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
iRon7https://github.com/iRon7
Liam Peters (@liamjpeters)https://github.com/liamjpeters
PowerShell/PowerShell#25491https://github.com/PowerShell/PowerShell/issues/25491
Liam Peters (@liamjpeters)https://github.com/liamjpeters
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
https://github.com/sdwheeler
Sean Wheeler (sdwheeler)https://github.com/sdwheeler
May 6, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4239177017
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/a42082080af70731afc9286ce3c6f8c16aea9899
docs/Rules/MissingTryBlock.mdhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/a42082080af70731afc9286ce3c6f8c16aea9899#diff-c550c673ceaa20e35b51c48d6a96a4897c87e98d0dba8e96ae19890d9f71b5fa
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
https://github.com/iRon7
https://github.com/sdwheeler
Update docs/Rules/MissingTryBlock.mdhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/f53cc38d58477ba72cfdbb021d8b1f9083e56145
f53cc38https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/f53cc38d58477ba72cfdbb021d8b1f9083e56145
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
May 7, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4247741836
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/f53cc38d58477ba72cfdbb021d8b1f9083e56145
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4247741836
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
iRon7https://github.com/iRon7
May 12, 2026 13:52https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#commits-pushed-7c22919
https://github.com/iRon7
Merge branch '#2098MissingTryBlock' ofhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/7c22919b499e25b6272869354e6d51171fc6bc37
https://github.com/iRon7/PSScr…https://github.com/iRon7/PSScriptAnalyzer
7c22919https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/7c22919b499e25b6272869354e6d51171fc6bc37
…iptAnalyzerhttps://github.com/iRon7/PSScriptAnalyzer
https://github.com/iRon7
Applied feedback fromhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/4b94c24aad25e20d63f0a117eb022f30075c1318
@andrewconnellhttps://github.com/andrewconnell
to add a note about the rule not…https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/4b94c24aad25e20d63f0a117eb022f30075c1318
4b94c24https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/4b94c24aad25e20d63f0a117eb022f30075c1318
https://github.com/liamjpeters
Liam Peters (liamjpeters)https://github.com/liamjpeters
May 15, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4297296325
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/4b94c24aad25e20d63f0a117eb022f30075c1318
Liam Peters (liamjpeters)https://github.com/liamjpeters
https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4297296325
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
docs/Rules/MissingTryBlock.mdhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/4b94c24aad25e20d63f0a117eb022f30075c1318#diff-c550c673ceaa20e35b51c48d6a96a4897c87e98d0dba8e96ae19890d9f71b5fa
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Tests/Rules/MissingTryBlock.tests.ps1https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/4b94c24aad25e20d63f0a117eb022f30075c1318#diff-bb0c19e57fc38e9e508c8796d566759ab6e69417f512f34b378bcbd3ea16eea7
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Rules/MissingTryBlock.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/4b94c24aad25e20d63f0a117eb022f30075c1318#diff-2876863764cb46be2459fbfa9ed8c288311e581234cf7ff1f6441069cc479127
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Rules/MissingTryBlock.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/4b94c24aad25e20d63f0a117eb022f30075c1318#diff-2876863764cb46be2459fbfa9ed8c288311e581234cf7ff1f6441069cc479127
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
https://github.com/liamjpeters
Liam Peters (liamjpeters)https://github.com/liamjpeters
May 15, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#issuecomment-4459265384
iRon7https://github.com/iRon7
make links using commentshttps://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
#1700https://github.com/PowerShell/PSScriptAnalyzer/issues/1700
#2098https://github.com/PowerShell/PSScriptAnalyzer/issues/2098
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
iRon7https://github.com/iRon7
May 15, 2026 19:05https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#commits-pushed-52598a1
https://github.com/iRon7
https://github.com/liamjpeters
Update docs/Rules/MissingTryBlock.mdhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/52598a18046843e68cb457b2f6a602f71f3f150b
52598a1https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/52598a18046843e68cb457b2f6a602f71f3f150b
https://github.com/iRon7
https://github.com/liamjpeters
Update Tests/Rules/MissingTryBlock.tests.ps1https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/9dc55e2f612bb37924ec7a1f1465565e98f4db85
9dc55e2https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/9dc55e2f612bb37924ec7a1f1465565e98f4db85
iRon7https://github.com/iRon7
May 15, 2026 19:06https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#commits-pushed-cee9c87
https://github.com/iRon7
https://github.com/liamjpeters
Update Rules/MissingTryBlock.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/cee9c876608fee44871a3fc9bc557d9e8a24efb7
cee9c87https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/cee9c876608fee44871a3fc9bc557d9e8a24efb7
https://github.com/iRon7
https://github.com/liamjpeters
Update Rules/MissingTryBlock.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/48ab58a82518a838fffca6651fa16b51ab26be35
48ab58ahttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179/commits/48ab58a82518a838fffca6651fa16b51ab26be35
https://github.com/iRon7
iRon7https://github.com/iRon7
May 15, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#issuecomment-4461796662
Liam Peters (@liamjpeters)https://github.com/liamjpeters
#1700https://github.com/PowerShell/PSScriptAnalyzer/issues/1700
#2098https://github.com/PowerShell/PSScriptAnalyzer/issues/2098
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
https://github.com/andyleejordan
Andy Jordan (andyleejordan)https://github.com/andyleejordan
May 15, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4300160338
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/48ab58a82518a838fffca6651fa16b51ab26be35
Andy Jordan (andyleejordan)https://github.com/andyleejordan
https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4300160338
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
iRon7https://github.com/iRon7
Liam Peters (@liamjpeters)https://github.com/liamjpeters
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
https://github.com/andyleejordan
Andy Jordan (andyleejordan)https://github.com/andyleejordan
Sean Wheeler (sdwheeler)https://github.com/sdwheeler
stale reviewhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179#pullrequestreview-4239177017
May 15, 2026 18:05https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#event-25587361404
https://github.com/andyleejordan
Andy Jordan (andyleejordan)https://github.com/andyleejordan
97f30d6https://github.com/PowerShell/PSScriptAnalyzer/commit/97f30d63d8ec2ff4cec492bcb52dae895389c4e1
May 15, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2179#event-25587375441
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/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%2FPSScriptAnalyzer%2Fpull%2F2179
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/50f751fd1577f30e7abcd4f309fd1b5f42e67e3c
https://github.com/bergmeister
Christoph Bergmeister (bergmeister) https://github.com/bergmeister
https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/f53cc38d58477ba72cfdbb021d8b1f9083e56145
https://github.com/michaeltlombardi
Mikey Lombardi (He/Him) (michaeltlombardi) https://github.com/michaeltlombardi
https://github.com/liamjpeters
Liam Peters (liamjpeters) https://github.com/liamjpeters
https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/4b94c24aad25e20d63f0a117eb022f30075c1318
https://github.com/sdwheeler
Sean Wheeler (sdwheeler) https://github.com/sdwheeler
https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/a42082080af70731afc9286ce3c6f8c16aea9899
https://github.com/andyleejordan
Andy Jordan (andyleejordan) https://github.com/andyleejordan
https://github.com/PowerShell/PSScriptAnalyzer/pull/2179/files/48ab58a82518a838fffca6651fa16b51ab26be35
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
Rule request: The Catch (or Finally) statement is missing its Try block. https://github.com/PowerShell/PSScriptAnalyzer/issues/2098
Missing try{} block not reported as a problem https://github.com/PowerShell/PSScriptAnalyzer/issues/1700
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2179
https://github.com/iRon7
https://github.com/liamjpeters
https://github.com/andyleejordan
https://github.com/bergmeister
https://github.com/sdwheeler
https://github.com/apps/copilot-pull-request-reviewer
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.