René's URL Explorer Experiment


Title: Add new InvalidMultiDotValue rule by iRon7 · Pull Request #2180 · PowerShell/PSScriptAnalyzer · GitHub

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

X Title: Add new InvalidMultiDotValue rule by iRon7 · Pull Request #2180 · PowerShell/PSScriptAnalyzer

Description: PR Summary PowerShell does not support an implicit value with multiple dots. Any unquoted value with 2 or more dots will not be treated as any special type (like a version or IPAddress) but result in $null. These objects need to be constructed from either a quoted string (e.g. [Version]'1.2.3') or their individual components (e.g. [Version]::new(1, 2, 3)). This rule returns an Error for unquoted values that have 2 or more dots (e.g.: $version = [Version]1.2.3). And implements a -Fix to surround the concerned violation with single quotes. Closes: #1698 PR Checklist PR has a meaningful title Use the present tense and imperative mood when describing your changes Summarized changes Change is not breaking Make sure all .cs, .ps1 and .psm1 files have the correct copyright header Make sure you've added a new test if existing tests do not effectively test the code changed and/or updated documentation This PR is ready to merge and is not Work in Progress. If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

Open Graph Description: PR Summary PowerShell does not support an implicit value with multiple dots. Any unquoted value with 2 or more dots will not be treated as any special type (like a version or IPAddress) but result ...

X Description: PR Summary PowerShell does not support an implicit value with multiple dots. Any unquoted value with 2 or more dots will not be treated as any special type (like a version or IPAddress) but result ...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4fb70b77-da33-00fd-1258-7045531a901d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC332:232E56:2BA7CD:39EAD9:6AFCE303
html-safe-noncee8f65455da37e8c850baebbe3c6696de2aa89c032fbdf857ac43bf1a96b9102c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzMyOjIzMkU1NjoyQkE3Q0Q6MzlFQUQ5OjZBRkNFMzAzIiwidmlzaXRvcl9pZCI6IjMyMTExNTUyMTQyOTk4ODIyNDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac02a8c97a16838ece9bef971aff25d0f0919b9cd1b94458568c51264ff31e1d6d
hovercard-subject-tagpull_request:3595038928
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/files
twitter:imagehttps://avatars.githubusercontent.com/u/8080834?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/8080834?s=400&v=4
og:image:altPR Summary PowerShell does not support an implicit value with multiple dots. Any unquoted value with 2 or more dots will not be treated as any special type (like a version or IPAddress) but result ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None99aede4c5f55ec5cf06666a8c9e03ebf9f85f7231223e7f1c38c16e5504835b3
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseecfd63ca125ec74b42f74eeb158b3fa081c8c497
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2180%2Ffiles
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%2F2180%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=PowerShell%2FPSScriptAnalyzer
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes
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
Sign up for GitHub https://github.com/signup?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose
Andy Jordan (andyleejordan)https://github.com/andyleejordan
PowerShell:mainhttps://github.com/PowerShell/PSScriptAnalyzer/tree/main
iRon7:#1698InvalidVersionConstructionhttps://github.com/iRon7/PSScriptAnalyzer/tree/%231698InvalidVersionConstruction
Conversation 23 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180
Commits 10 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/commits
Checks 4 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/checks
Files changed https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/files
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes
Add new InvalidMultiDotValue rule https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#top
Show all changes 10 commits https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/files
1c33cfc Add new InvalidMultiDotValue rule iRon7 Apr 28, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/commits/1c33cfc6ef024f6e7c06a87fbc39a7b3ec724a51
be35962 Fixed several issues as commented by Liam. iRon7 Apr 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/commits/be35962aec7ec9bf20ac0c5c5d4cfbe4987dec3f
9914a99 Potential fix for pull request finding iRon7 Apr 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/commits/9914a99138bbbdd5efd1d901183d30e50c13558d
7aa417f Improved wording based on Copilot suggestions. iRon7 Apr 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/commits/7aa417f227176828f9c19c0dc6090284f15bff52
62a6c30 Merge branch 'main' into #1698InvalidVersionConstruction iRon7 May 5, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/commits/62a6c30e79a8b16971eb8f5c51273709168769ae
a9edf5d Update docs/Rules/InvalidMultiDotValue.md iRon7 May 13, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/commits/a9edf5d67818884abdedfa63f5803bfc968abe94
694fc57 Update docs/Rules/InvalidMultiDotValue.md iRon7 May 13, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/commits/694fc576584fcbf1685b7eb90a979fb0cbea8480
c997f54 **opt-in by default.** iRon7 May 13, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/commits/c997f540667df9b1072afab53051f39ac47aa886
57f9889 Remove dead code and change `PSAvoidExclaimOperator` from documentation iRon7 May 17, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/commits/57f988900877242b1773d07963d200899b4d1b45
2434a3f Merge branch 'main' into #1698InvalidVersionConstruction iRon7 May 17, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/commits/2434a3f83962360aec2419248fff23f8efb0e95a
Clear filters https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/files
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes
InvalidMultiDotValue.cs https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#diff-5e11e9a7d2762b7fae91d67cc081bd8430d2dfb3c99b6e0d6a5711689d1ed340
Strings.resx https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3
InvalidMultiDotValue.tests.ps1 https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#diff-5490ff017eca590e1028ed152db08c369f1cb97f03f106d162169fb4dd215c0c
InvalidMultiDotValue.md https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#diff-c9f2a6c6fb532e354bddbbb7f6d1ae1baae4e7d553616acaeb94a4d251d7173e
README.md https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#diff-aa3ee3522a3ec73c6f36f2fe020f02ee8517299d57cfe67d99ff0efd2038a0d5
https://github.com/PowerShell/PSScriptAnalyzer/blob/main/.github/CODEOWNERS#L2
Rules/InvalidMultiDotValue.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#diff-5e11e9a7d2762b7fae91d67cc081bd8430d2dfb3c99b6e0d6a5711689d1ed340
View file https://github.com/iRon7/PSScriptAnalyzer/blob/2434a3f83962360aec2419248fff23f8efb0e95a/Rules/InvalidMultiDotValue.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/{{ revealButtonHref }}
https://github.com/PowerShell/PSScriptAnalyzer/blob/main/.github/CODEOWNERS#L2
Rules/Strings.resxhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3
View file https://github.com/iRon7/PSScriptAnalyzer/blob/2434a3f83962360aec2419248fff23f8efb0e95a/Rules/Strings.resx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/{{ revealButtonHref }}
https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3
https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3
https://github.com/PowerShell/PSScriptAnalyzer/blob/main/.github/CODEOWNERS#L2
Tests/Rules/InvalidMultiDotValue.tests.ps1https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes#diff-5490ff017eca590e1028ed152db08c369f1cb97f03f106d162169fb4dd215c0c
View file https://github.com/iRon7/PSScriptAnalyzer/blob/2434a3f83962360aec2419248fff23f8efb0e95a/Tests/Rules/InvalidMultiDotValue.tests.ps1
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/pull/2180/{{ revealButtonHref }}
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2180/changes
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.