| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:84b9aba0-fed1-66f3-82fd-1a8e28cd8204 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8956:30DB3C:EBB1A:147A52:696527B4 |
| html-safe-nonce | 1f90a71bfe52881c10ede5af5ef9351b4345723e9055b294695f8daaeafbe47b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTU2OjMwREIzQzpFQkIxQToxNDdBNTI6Njk2NTI3QjQiLCJ2aXNpdG9yX2lkIjoiOTAyNDQ0MjQwMzQ0NjQwMDk0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ed86f0a1aeee350e3464adfd147af980b0274383b0a14c623ef5febde957f584 |
| hovercard-subject-tag | pull_request:1097320060 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PSScriptAnalyzer/1850/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/2c9a7c47cb82ecace526bb9cfa5794fd32d828ca025a2d8bf642112a71d10c98/PowerShell/PSScriptAnalyzer/pull/1850 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2c9a7c47cb82ecace526bb9cfa5794fd32d828ca025a2d8bf642112a71d10c98/PowerShell/PSScriptAnalyzer/pull/1850 |
| og:image:alt | PR Summary
This is an enhancement to CommandAllowList introduced in #1846
To avoid having az as the default in it, return now the discovered command and inspect whether it has parameters. If not, w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bergmeister |
| hostname | github.com |
| expected-hostname | github.com |
| None | 817276b8a3521a687e743b852e21b1c4c62a9fabf649a41d85c1499aaa39fab1 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PSScriptAnalyzer git https://github.com/PowerShell/PSScriptAnalyzer.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 33149177 |
| octolytics-dimension-repository_nwo | PowerShell/PSScriptAnalyzer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33149177 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PSScriptAnalyzer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a4c6d32d56fbcafaf5646e244c8989317f135a9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F1850 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F1850 |
|
Sign up
| https://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 |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
|
PowerShell
| https://github.com/PowerShell |
| PSScriptAnalyzer | https://github.com/PowerShell/PSScriptAnalyzer |
|
Notifications
| https://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer |
|
Fork
407
| https://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer |
|
Star
2.1k
| https://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer |
|
Code
| https://github.com/PowerShell/PSScriptAnalyzer |
|
Issues
394
| https://github.com/PowerShell/PSScriptAnalyzer/issues |
|
Pull requests
17
| https://github.com/PowerShell/PSScriptAnalyzer/pulls |
|
Discussions
| https://github.com/PowerShell/PSScriptAnalyzer/discussions |
|
Actions
| https://github.com/PowerShell/PSScriptAnalyzer/actions |
|
Projects
0
| https://github.com/PowerShell/PSScriptAnalyzer/projects |
|
Wiki
| https://github.com/PowerShell/PSScriptAnalyzer/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/PowerShell/PSScriptAnalyzer/security |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
|
Insights
| https://github.com/PowerShell/PSScriptAnalyzer/pulse |
|
Code
| https://github.com/PowerShell/PSScriptAnalyzer |
|
Issues
| https://github.com/PowerShell/PSScriptAnalyzer/issues |
|
Pull requests
| https://github.com/PowerShell/PSScriptAnalyzer/pulls |
|
Discussions
| https://github.com/PowerShell/PSScriptAnalyzer/discussions |
|
Actions
| https://github.com/PowerShell/PSScriptAnalyzer/actions |
|
Projects
| https://github.com/PowerShell/PSScriptAnalyzer/projects |
|
Wiki
| https://github.com/PowerShell/PSScriptAnalyzer/wiki |
|
Security
| https://github.com/PowerShell/PSScriptAnalyzer/security |
|
Insights
| https://github.com/PowerShell/PSScriptAnalyzer/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#issue-comment-box |
| bergmeister | https://github.com/bergmeister |
| PowerShell:master | https://github.com/PowerShell/PSScriptAnalyzer/tree/master |
| bergmeister:AvoidUsingPositionalParameter-CheckForParams | https://github.com/bergmeister/PSScriptAnalyzer/tree/AvoidUsingPositionalParameter-CheckForParams |
|
AvoidUsingPositionalParameter: Check if command has parameters to avoid having az in default CommandAllowList
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#top |
| bergmeister | https://github.com/bergmeister |
| PowerShell:master | https://github.com/PowerShell/PSScriptAnalyzer/tree/master |
| bergmeister:AvoidUsingPositionalParameter-CheckForParams | https://github.com/bergmeister/PSScriptAnalyzer/tree/AvoidUsingPositionalParameter-CheckForParams |
|
Conversation
5
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
|
Commits
5
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/commits |
|
Checks
0
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/checks |
|
Files changed
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/files |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PSScriptAnalyzer/pull/{{ revealButtonHref }} |
|
| https://github.com/bergmeister |
| bergmeister | https://github.com/bergmeister |
| Oct 24, 2022 | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#issue-1420654208 |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
| #1846 | https://github.com/PowerShell/PSScriptAnalyzer/pull/1846 |
| PR has a meaningful title | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Summarized changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Change is not breaking | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| Make sure all .cs, .ps1 and .psm1 files have the correct copyright header | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Work in Progress | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
|
| https://github.com/bergmeister |
| AvoidUsingPositionalParameter : Check if command has parameters | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/commits/9b983225b929e535f098bc145c3234b308f28997 |
| 9b98322 | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/commits/9b983225b929e535f098bc145c3234b308f28997 |
| https://github.com/bergmeister |
| bergmeister | https://github.com/bergmeister |
|
Area - Rules
| https://github.com/PowerShell/PSScriptAnalyzer/issues?q=state%3Aopen%20label%3A%22Area%20-%20Rules%22 |
| Oct 24, 2022 | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#event-7652935023 |
| bergmeister | https://github.com/bergmeister |
| October 24, 2022 12:24 | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#commits-pushed-5e9cbed |
|
| https://github.com/bergmeister |
| fix syntax | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/commits/5e9cbedf76ddbee5c126af733267e7b9fc20e29a |
| 5e9cbed | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/commits/5e9cbedf76ddbee5c126af733267e7b9fc20e29a |
|
| https://github.com/bergmeister |
| remove unneeded test | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/commits/8127a1649d2af31a2af9b878693cc160c32df670 |
| 8127a16 | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/commits/8127a1649d2af31a2af9b878693cc160c32df670 |
| https://github.com/bergmeister |
| bergmeister | https://github.com/bergmeister |
| October 25, 2022 16:43 | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#event-7665404117 |
|
| https://github.com/bergmeister |
| Merge branch 'master' into AvoidUsingPositionalParameter-CheckForParams | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/commits/73d34016f0214d15cf00d5336a222c80b69a091a |
| 73d3401 | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/commits/73d34016f0214d15cf00d5336a222c80b69a091a |
| https://github.com/JamesWTruher |
| JamesWTruher | https://github.com/JamesWTruher |
| Jan 16, 2024 | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#issuecomment-1894661331 |
| @bergmeister | https://github.com/bergmeister |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
| https://github.com/JamesWTruher |
| JamesWTruher | https://github.com/JamesWTruher |
|
Jan 18, 2024
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#pullrequestreview-1828492478 |
|
View reviewed changes
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/files/73d34016f0214d15cf00d5336a222c80b69a091a |
| JamesWTruher | https://github.com/JamesWTruher |
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#pullrequestreview-1828492478 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
| Rules/AvoidPositionalParameters.cs | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/files/73d34016f0214d15cf00d5336a222c80b69a091a#diff-0c1b69454498d51fc5f5ba732f2589578f37357dd80b111e8330fff529036908 |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
|
| https://github.com/bergmeister |
| Update Rules/AvoidPositionalParameters.cs | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/commits/f7e55eede0c7ecc58eba2b16d18b35ffdb0f8c65 |
| f7e55ee | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/commits/f7e55eede0c7ecc58eba2b16d18b35ffdb0f8c65 |
| https://github.com/bergmeister |
| bergmeister | https://github.com/bergmeister |
| February 12, 2024 18:10 | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#event-11778136594 |
| https://github.com/JamesWTruher |
| JamesWTruher | https://github.com/JamesWTruher |
|
Feb 13, 2024
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#pullrequestreview-1878643239 |
|
View reviewed changes
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/files/f7e55eede0c7ecc58eba2b16d18b35ffdb0f8c65 |
| JamesWTruher | https://github.com/JamesWTruher |
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#pullrequestreview-1878643239 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
| https://github.com/bergmeister |
| bergmeister | https://github.com/bergmeister |
| df3551e | https://github.com/PowerShell/PSScriptAnalyzer/commit/df3551eda2dce113e1eecf8a3ff03654c9bf24a4 |
| Feb 13, 2024 | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850#event-11792464050 |
|
Update PSScriptAnalyzer to v1.22.0
ForNeVeR/intellij-powershell#1
| https://github.com/ForNeVeR/intellij-powershell/pull/1 |
|
Update PSScriptAnalyzer to v1.22.0
ant-druha/intellij-powershell#244
| https://github.com/ant-druha/intellij-powershell/pull/244 |
|
Update PowerShellEditorServices to v3.18.1 and PSScriptAnalyzer to v1.22.0
ForNeVeR/intellij-powershell#2
| https://github.com/ForNeVeR/intellij-powershell/pull/2 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F1850 |
|
| https://github.com/JamesWTruher |
|
JamesWTruher
| https://github.com/JamesWTruher |
|
| https://github.com/PowerShell/PSScriptAnalyzer/pull/1850/files/f7e55eede0c7ecc58eba2b16d18b35ffdb0f8c65 |
|
Area - Rules
| https://github.com/PowerShell/PSScriptAnalyzer/issues?q=state%3Aopen%20label%3A%22Area%20-%20Rules%22 |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/1850 |
|
| https://github.com/bergmeister |
|
| https://github.com/JamesWTruher |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |