René's URL Explorer Experiment


Title: Add ability to determine when script uses language features and/or cmdlets not available in the specified minimum version of PowerShell · Issue #127 · PowerShell/PSScriptAnalyzer · GitHub

Open Graph Title: Add ability to determine when script uses language features and/or cmdlets not available in the specified minimum version of PowerShell · Issue #127 · PowerShell/PSScriptAnalyzer

X Title: Add ability to determine when script uses language features and/or cmdlets not available in the specified minimum version of PowerShell · Issue #127 · PowerShell/PSScriptAnalyzer

Description: This is increasingly becoming an issue as PowerShell gets new language features and cmdlets. And cmdlets get new parameters, etc. I could have a #requires -version 3.0 in my script but I'm developing on PowerShell 5.0. It is real easy to...

Open Graph Description: This is increasingly becoming an issue as PowerShell gets new language features and cmdlets. And cmdlets get new parameters, etc. I could have a #requires -version 3.0 in my script but I'm developi...

X Description: This is increasingly becoming an issue as PowerShell gets new language features and cmdlets. And cmdlets get new parameters, etc. I could have a #requires -version 3.0 in my script but I'm deve...

Mail addresses
notifications@github.com
notifications@github.com

Opengraph URL: https://github.com/PowerShell/PSScriptAnalyzer/issues/127

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add ability to determine when script uses language features and/or cmdlets not available in the specified minimum version of PowerShell","articleBody":"This is increasingly becoming an issue as PowerShell gets new language features and cmdlets.  And cmdlets get new parameters, etc.  I could have a #requires -version 3.0 in my script but I'm developing on PowerShell 5.0.  It is real easy to slip up and use a lang feature (\"using namespace System.Diagnostics\") or a cmdlet (New-TemporaryFile) or a new cmdlet parameter (PassThru added to Enable-JobTrigger in v4).  It would be great if ScriptAnalyzer saw a #requires -Version X.0 and warned (or errored) when I used a feature not available on X.0.  Likewise, I would like to have a parameter to ScriptAnalyzer where I could tell it the minimum version I want to target (perhaps I have several scripts written at different times that have varying levels of #requires -Version).\n\nFor bonus points, if someone specified neither the command line parameter (MinimumPowerShellVersion) or had any #requires or min version in their PSD1 file, it would be nice if ScriptAnalyzer told me that - \"Scripts require at least version 4 due use of -PassThru parameter on Enable-JobTrigger and use of Get-FileHash cmdlet).\n\nWhere things get a bit more tricky is setting a minimum Windows OS version.  But the need is there since I have a whole bunch of cmdlets available to me on Windows 8.1 that I know are not available on Windows 7. \n","author":{"url":"https://github.com/rkeithhill","@type":"Person","name":"rkeithhill"},"datePublished":"2015-05-08T19:07:44Z","url":"https://github.com/PowerShell/PSScriptAnalyzer/issues/127"}

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:ae19c6f3-4d30-79b5-3616-dcb2ce6000a8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD838:3D0013:26597A5:3593FD4:6AFD4D22
html-safe-noncec5e7ea72ae8976f097c175cefcb3cb8865c3eb298ecbb8e397645bebbe9edd3e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODM4OjNEMDAxMzoyNjU5N0E1OjM1OTNGRDQ6NkFGRDREMjIiLCJ2aXNpdG9yX2lkIjoiMjYyNTY1NTU0ODcwMzIzMTI2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac732f62de943e32e85ec40c2ca3e0b555b7ded02e85f42429eab6fc727666cb3b
hovercard-subject-tagissue:74462401
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/PSScriptAnalyzer/127/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6ecc294460701d976e3c7d3f445b76d8ff0c75f0d373fbde7521a41c440f7f8f/PowerShell/PSScriptAnalyzer/issues/127
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6ecc294460701d976e3c7d3f445b76d8ff0c75f0d373fbde7521a41c440f7f8f/PowerShell/PSScriptAnalyzer/issues/127
og:image:altThis is increasingly becoming an issue as PowerShell gets new language features and cmdlets. And cmdlets get new parameters, etc. I could have a #requires -version 3.0 in my script but I'm developi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerkeithhill
hostnamegithub.com
expected-hostnamegithub.com
None66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e
turbo-cache-controlno-preview
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
releaseb6f01f7cb9f35f8c09949773241a3d49dd04b340
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PSScriptAnalyzer/issues/127#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2F127
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%2Fissues%2F127
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%2FPSScriptAnalyzer
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/issues/127
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/issues/127
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/issues/127
PowerShellhttps://github.com/PowerShell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
Codehttps://github.com/PowerShell/PSScriptAnalyzer
Issues407 (407)https://github.com/PowerShell/PSScriptAnalyzer/issues
Pull requests35 (35)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
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PSScriptAnalyzer/issues/127
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PSScriptAnalyzer/issues/127
Add ability to determine when script uses language features and/or cmdlets not available in the specified minimum version of PowerShellhttps://github.com/PowerShell/PSScriptAnalyzer/issues/127#top
Issue - Discussionhttps://github.com/PowerShell/PSScriptAnalyzer/issues?q=state%3Aopen%20label%3A%22Issue%20-%20Discussion%22
https://github.com/rkeithhill
Keith Hill (rkeithhill)https://github.com/rkeithhill
on May 8, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issue-74462401
Yuting Chen (yutingc)https://github.com/yutingc
Issue - Discussionhttps://github.com/PowerShell/PSScriptAnalyzer/issues?q=state%3Aopen%20label%3A%22Issue%20-%20Discussion%22
on May 9, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#event-300713889
https://github.com/ducke
Manuel Henke (ducke)https://github.com/ducke
on May 19, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-103644450
https://github.com/nightroman
Roman Kuzmin 1967-2026 (nightroman)https://github.com/nightroman
on May 22, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-104521799
Keith Hill (@rkeithhill)https://github.com/rkeithhill
https://github.com/KirkMunro
Kirk Munro (KirkMunro)https://github.com/KirkMunro
on May 22, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-104650818
http://poshoholic.com/http://poshoholic.com/
http://twitter.com/poshoholichttp://twitter.com/poshoholic
http://ca.linkedin.com/in/kirkmunrohttp://ca.linkedin.com/in/kirkmunro
http://github.com/KirkMunrohttps://github.com/KirkMunro
http://www.facebook.com/#%21/kirk.munrohttp://www.facebook.com/#%21/kirk.munro
http://poshoholic.com/contact-me/http://poshoholic.com/contact-me/
#127 (comment)https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-104521799
https://github.com/nightroman
Roman Kuzmin 1967-2026 (nightroman)https://github.com/nightroman
on May 24, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-104979545
https://github.com/nightroman
Roman Kuzmin 1967-2026 (nightroman)https://github.com/nightroman
on May 25, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-105224242
https://github.com/KirkMunro
Kirk Munro (KirkMunro)https://github.com/KirkMunro
on May 25, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-105241013
https://technet.microsoft.com/en-us/library/hh857339.aspxhttps://technet.microsoft.com/en-us/library/hh857339.aspx
https://github.com/joeyaiello
Joey Aiello (joeyaiello)https://github.com/joeyaiello
on Dec 1, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-161085048
https://github.com/KirkMunro
Kirk Munro (KirkMunro)https://github.com/KirkMunro
on Dec 1, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-161103709
https://github.com/rkeithhill
Keith Hill (rkeithhill)https://github.com/rkeithhill
on Dec 1, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-161113334
https://github.com/KirkMunro
Kirk Munro (KirkMunro)https://github.com/KirkMunro
on Dec 1, 2015https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-161117533
http://poshoholic.com/http://poshoholic.com/
http://twitter.com/poshoholichttp://twitter.com/poshoholic
http://ca.linkedin.com/in/kirkmunrohttp://ca.linkedin.com/in/kirkmunro
http://github.com/KirkMunrohttps://github.com/KirkMunro
http://www.facebook.com/#%21/kirk.munrohttp://www.facebook.com/#%21/kirk.munro
http://poshoholic.com/contact-me/http://poshoholic.com/contact-me/
#127 (comment)https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-161113334
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
on Apr 1, 2018https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-377785390
UseCompatibleCmdletshttps://github.com/PowerShell/PSScriptAnalyzer/blob/development/RuleDocumentation/UseCompatibleCmdlets.md
https://github.com/rkeithhill
Keith Hill (rkeithhill)https://github.com/rkeithhill
on Apr 1, 2018https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-377804631
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
on Apr 1, 2018https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-377806430
herehttps://docs.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-windows-powershell-50?view=powershell-6#new-features-in-windows-powershell-40
herehttps://bracketsandbraces.blogspot.co.uk/2018/02/gotcha-when-developing-powershell-that.html
https://github.com/PowerCoder
PowerCoderhttps://github.com/PowerCoder
on Mar 29, 2020https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-605597635
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
on Mar 29, 2020https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-605676041
PowerCoderhttps://github.com/PowerCoder
https://devblogs.microsoft.com/powershell/using-psscriptanalyzer-to-check-powershell-version-compatibility/https://devblogs.microsoft.com/powershell/using-psscriptanalyzer-to-check-powershell-version-compatibility/
https://github.com/PowerCoder
PowerCoderhttps://github.com/PowerCoder
on Mar 29, 2020https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-605688158
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
on Mar 30, 2020https://github.com/PowerShell/PSScriptAnalyzer/issues/127#issuecomment-605950775
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PSScriptAnalyzer/issues/127
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PSScriptAnalyzer/issues/127
Issue - Discussionhttps://github.com/PowerShell/PSScriptAnalyzer/issues?q=state%3Aopen%20label%3A%22Issue%20-%20Discussion%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.