René's URL Explorer Experiment


Title: Preserve DSC resource names during alias correction by Copilot · Pull Request #2270 · PowerShell/PSScriptAnalyzer · GitHub

Open Graph Title: Preserve DSC resource names during alias correction by Copilot · Pull Request #2270 · PowerShell/PSScriptAnalyzer

X Title: Preserve DSC resource names during alias correction by Copilot · Pull Request #2270 · PowerShell/PSScriptAnalyzer

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

Open Graph Description: Alias correction can rewrite DSC resource declarations such as Package PackageExample to Get-Package PackageExample, invalidating the configuration. Resource detection: Exclude resource-shaped dec...

X Description: Alias correction can rewrite DSC resource declarations such as Package PackageExample to Get-Package PackageExample, invalidating the configuration. Resource detection: Exclude resource-shaped dec...

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

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:211a0bd6-8499-0f71-8d60-71218de7bb41
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9350:1CF825:2FCD47:4187D0:6AFCD2E9
html-safe-nonce28fe08fb080b6ec5695be758f5dad69d24c938e358c019b1a157865ec3772418
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzUwOjFDRjgyNToyRkNENDc6NDE4N0QwOjZBRkNEMkU5IiwidmlzaXRvcl9pZCI6IjcwMTM4MzE0NDMyNzY5NDQxMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6a021506df008e9f43f5f895ca49946724ec1d753537b96c93c427e330862a03
hovercard-subject-tagpull_request:5042191877
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/2270/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d3bd9d1bcac5ae9100efa996ae6c50faee553d3cb926c4cb0c470dd05c8163bf/PowerShell/PSScriptAnalyzer/pull/2270
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d3bd9d1bcac5ae9100efa996ae6c50faee553d3cb926c4cb0c470dd05c8163bf/PowerShell/PSScriptAnalyzer/pull/2270
og:image:altAlias correction can rewrite DSC resource declarations such as Package PackageExample to Get-Package PackageExample, invalidating the configuration. Resource detection: Exclude resource-shaped dec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
Nonee3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d
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
release5410e4bebd3e45b138c853ecef3992279d86d5af
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2270
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%2F2270
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/2270
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
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
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Copilothttps://github.com/apps/copilot-swe-agent
mainhttps://github.com/PowerShell/PSScriptAnalyzer/tree/main
copilot/fix-auto-correct-aliaseshttps://github.com/PowerShell/PSScriptAnalyzer/tree/copilot/fix-auto-correct-aliases
Conversationhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Commits14 (14)https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits
Checkshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/checks
Files changedhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files
Preserve DSC resource names during alias correctionhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#top
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Copilothttps://github.com/apps/copilot-swe-agent
mainhttps://github.com/PowerShell/PSScriptAnalyzer/tree/main
copilot/fix-auto-correct-aliaseshttps://github.com/PowerShell/PSScriptAnalyzer/tree/copilot/fix-auto-correct-aliases
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Oct 27, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#issue-6068981604
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Auto Correct Aliases incorrectly expands DSC resources name thinking its an alias of a cmdlet #2025https://github.com/PowerShell/PSScriptAnalyzer/issues/2025
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
https://github.com/apps/copilot-swe-agent
Initial planhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/cafb813c8aac531f2c9fa6c43906651ab51c21d6
cafb813https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/cafb813c8aac531f2c9fa6c43906651ab51c21d6
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Oct 27, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34419705134
started workhttps://github.com/PowerShell/PSScriptAnalyzer/sessions/280eae7e-ee32-4561-90d7-df0e218281e2
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 27, 2026 22:41https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34419738670
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/280eae7e-ee32-4561-90d7-df0e218281e2
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Oct 27, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34419738905
Auto Correct Aliases incorrectly expands DSC resources name thinking its an alias of a cmdlet #2025 https://github.com/PowerShell/PSScriptAnalyzer/issues/2025
https://github.com/apps/copilot-swe-agent
https://github.com/bergmeister
Avoid implicit Get-prefix corrections for DSC resource declarationshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/be98895b08ce6c6b8fafdc69e8eac6cb3aa98e0d
be98895https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/be98895b08ce6c6b8fafdc69e8eac6cb3aa98e0d
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Oct 27, 2026https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34420580581
finished workhttps://github.com/PowerShell/PSScriptAnalyzer/sessions/280eae7e-ee32-4561-90d7-df0e218281e2
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 27, 2026 22:55https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34420592228
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 27, 2026 22:55https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34420592628
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Copilothttps://github.com/apps/copilot-pull-request-reviewer
October 28, 2026 08:01https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34451411948
started reviewinghttps://github.com/PowerShell/PSScriptAnalyzer/sessions/55a7975b-1a2d-4d60-9807-35bf894d5cbc
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 28, 2026 08:01https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34451454088
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/55a7975b-1a2d-4d60-9807-35bf894d5cbc
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Oct 28, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5679553794
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/be98895b08ce6c6b8fafdc69e8eac6cb3aa98e0d
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5679553794
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Defer DSC body lookup to prevent quadratic scans in ordinary scriptshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4398233771
Avoid correcting commands in directly assigned script blockshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4398233822
Restrict resource command detection to standalone single-command pipelineshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4398233873
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Rules/AvoidAlias.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/be98895b08ce6c6b8fafdc69e8eac6cb3aa98e0d#diff-40becd86a71ebd960dac7e49cc6af101462b7a2a804af2c58753f24f4a50119f
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Rules/AvoidAlias.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/be98895b08ce6c6b8fafdc69e8eac6cb3aa98e0d#diff-40becd86a71ebd960dac7e49cc6af101462b7a2a804af2c58753f24f4a50119f
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Rules/AvoidAlias.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/be98895b08ce6c6b8fafdc69e8eac6cb3aa98e0d#diff-40becd86a71ebd960dac7e49cc6af101462b7a2a804af2c58753f24f4a50119f
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
started workhttps://github.com/PowerShell/PSScriptAnalyzer/sessions/d1c26c4b-6dac-4ecb-9893-dbed4f74750f
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 28, 2026 08:32https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34453711072
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/d1c26c4b-6dac-4ecb-9893-dbed4f74750f
https://github.com/apps/copilot-swe-agent
https://github.com/bergmeister
Handle wrapped DSC resource bodieshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/4b4bb198d6d657292558d9ddce6abd860efd0d56
4b4bb19https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/4b4bb198d6d657292558d9ddce6abd860efd0d56
finished workhttps://github.com/PowerShell/PSScriptAnalyzer/sessions/d1c26c4b-6dac-4ecb-9893-dbed4f74750f
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 28, 2026 08:56https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34455497111
started workhttps://github.com/PowerShell/PSScriptAnalyzer/sessions/28efc6c9-d83c-4a32-814e-ee727268dde6
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 28, 2026 09:29https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34458162249
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/28efc6c9-d83c-4a32-814e-ee727268dde6
https://github.com/apps/copilot-swe-agent
https://github.com/bergmeister
Handle DSC resources before command matchinghttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/b64eda73de9d3d0b09920dd249681d34b6e08389
b64eda7https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/b64eda73de9d3d0b09920dd249681d34b6e08389
finished workhttps://github.com/PowerShell/PSScriptAnalyzer/sessions/28efc6c9-d83c-4a32-814e-ee727268dde6
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 28, 2026 09:37https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34458881317
started workhttps://github.com/PowerShell/PSScriptAnalyzer/sessions/78e827a1-7767-4f48-a150-b83be8e753ae
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 28, 2026 11:35https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34468734740
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/78e827a1-7767-4f48-a150-b83be8e753ae
https://github.com/apps/copilot-swe-agent
https://github.com/bergmeister
Fix DSC resource alias classificationhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/cabfc1741c2dc3edaad548205a8a5e8b24b3eab0
cabfc17https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/cabfc1741c2dc3edaad548205a8a5e8b24b3eab0
finished workhttps://github.com/PowerShell/PSScriptAnalyzer/sessions/78e827a1-7767-4f48-a150-b83be8e753ae
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 28, 2026 11:45https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34469509057
started workhttps://github.com/PowerShell/PSScriptAnalyzer/sessions/c11f6437-2a2c-4bac-b594-7eebd1ec13ae
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 28, 2026 14:11https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34482736208
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/c11f6437-2a2c-4bac-b594-7eebd1ec13ae
https://github.com/apps/copilot-swe-agent
https://github.com/bergmeister
Ignore parser diagnostics in DSC alias testhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/5c3cbec0f30e1e6528c0b1cc68c1ae58ba570b78
5c3cbechttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/5c3cbec0f30e1e6528c0b1cc68c1ae58ba570b78
finished workhttps://github.com/PowerShell/PSScriptAnalyzer/sessions/c11f6437-2a2c-4bac-b594-7eebd1ec13ae
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 28, 2026 14:17https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34483288622
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Copilothttps://github.com/apps/copilot-pull-request-reviewer
October 28, 2026 14:42https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34485913864
started reviewinghttps://github.com/PowerShell/PSScriptAnalyzer/sessions/b505c2ac-0718-44b7-b87c-83606068e98f
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 28, 2026 14:43https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34485975205
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/b505c2ac-0718-44b7-b87c-83606068e98f
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Oct 28, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5684660517
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/5c3cbec0f30e1e6528c0b1cc68c1ae58ba570b78
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5684660517
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
This scans sibling statements before checking whether the command belongs to a configuration. For…https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4402097760
Inside a configuration, executable commands such as $result = Verb Argument {}, `$action = { Verb…https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4402097867
The CommandExpressionAst exception accepts standalone blocks without checking that they belong to…https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4402097922
The resource-body checks also accept commands belonging to a multi-command pipeline. For example,…https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4402097981
Restrict resource command detection to standalone single-command pipelineshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4398233873
Avoid correcting commands in directly assigned script blockshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4398233822
Defer DSC body lookup to prevent quadratic scans in ordinary scriptshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4398233771
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Rules/AvoidAlias.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/5c3cbec0f30e1e6528c0b1cc68c1ae58ba570b78#diff-40becd86a71ebd960dac7e49cc6af101462b7a2a804af2c58753f24f4a50119f
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Rules/AvoidAlias.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/5c3cbec0f30e1e6528c0b1cc68c1ae58ba570b78#diff-40becd86a71ebd960dac7e49cc6af101462b7a2a804af2c58753f24f4a50119f
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Rules/AvoidAlias.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/5c3cbec0f30e1e6528c0b1cc68c1ae58ba570b78#diff-40becd86a71ebd960dac7e49cc6af101462b7a2a804af2c58753f24f4a50119f
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Rules/AvoidAlias.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/5c3cbec0f30e1e6528c0b1cc68c1ae58ba570b78#diff-40becd86a71ebd960dac7e49cc6af101462b7a2a804af2c58753f24f4a50119f
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
stack #2281https://github.com/PowerShell/PSScriptAnalyzer/stack/2281
October 28, 2026 14:54https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34487186982
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Oct 28, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#ref-pullrequest-6081456538
Tighten DSC resource detection in AvoidAlias #2280 https://github.com/PowerShell/PSScriptAnalyzer/pull/2280
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
stack #2281https://github.com/PowerShell/PSScriptAnalyzer/stack/2281
October 28, 2026 15:16https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34489349126
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
stack #2292https://github.com/PowerShell/PSScriptAnalyzer/stack/2292
October 29, 2026 07:04https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34557131256
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
stack #2292https://github.com/PowerShell/PSScriptAnalyzer/stack/2292
October 29, 2026 09:10https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34566502412
https://github.com/apps/copilot-swe-agent
https://github.com/bergmeister
Reject background pipelines as DSC resources (https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/3b14fd8d3be02f85dd6c10212c4c95de6a35234b
#2290https://github.com/PowerShell/PSScriptAnalyzer/pull/2290
)https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/3b14fd8d3be02f85dd6c10212c4c95de6a35234b
3b14fd8https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/3b14fd8d3be02f85dd6c10212c4c95de6a35234b
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Copilothttps://github.com/apps/copilot-pull-request-reviewer
October 29, 2026 09:24https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34567683986
started reviewinghttps://github.com/PowerShell/PSScriptAnalyzer/sessions/ab46e233-ed18-4ff3-929b-c32bec74c103
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 29, 2026 09:25https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34567728320
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/ab46e233-ed18-4ff3-929b-c32bec74c103
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Oct 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5695493266
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/3b14fd8d3be02f85dd6c10212c4c95de6a35234b
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5695493266
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Handle trailing ampersands after fallback resource blockshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4407173653
Reject background pipelines before fallback resource classificationhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4407173610
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Copilothttps://github.com/apps/copilot-pull-request-reviewer
October 29, 2026 09:42https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34569232086
started reviewinghttps://github.com/PowerShell/PSScriptAnalyzer/sessions/e8fa56a9-a475-4fae-8715-84ae01412157
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 29, 2026 09:43https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34569271523
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/e8fa56a9-a475-4fae-8715-84ae01412157
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Oct 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5695727052
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/3b14fd8d3be02f85dd6c10212c4c95de6a35234b
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5695727052
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Preserve diagnostics for following-line verb blocks in fallback ASThttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4410828227
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Rules/AvoidAlias.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/3b14fd8d3be02f85dd6c10212c4c95de6a35234b#diff-40becd86a71ebd960dac7e49cc6af101462b7a2a804af2c58753f24f4a50119f
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
stack #2294https://github.com/PowerShell/PSScriptAnalyzer/stack/2294
October 29, 2026 09:53https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34570188670
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Oct 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#ref-pullrequest-6097165676
Preserve alias diagnostics after executable commands in DSC ASTs #2293 https://github.com/PowerShell/PSScriptAnalyzer/pull/2293
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
stack #2294https://github.com/PowerShell/PSScriptAnalyzer/stack/2294
October 29, 2026 11:23https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34577792740
https://github.com/apps/copilot-swe-agent
https://github.com/bergmeister
Preserve alias diagnostics after executable commands in DSC ASTs (https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/e51412ddd3d59a6e2e1236f1efa1dd06c38343a9
#2293https://github.com/PowerShell/PSScriptAnalyzer/pull/2293
)https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/e51412ddd3d59a6e2e1236f1efa1dd06c38343a9
e51412dhttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/e51412ddd3d59a6e2e1236f1efa1dd06c38343a9
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Copilothttps://github.com/apps/copilot-pull-request-reviewer
October 29, 2026 11:35https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34578815541
started reviewinghttps://github.com/PowerShell/PSScriptAnalyzer/sessions/5fdc7b58-526c-43db-b659-212b9abde6d6
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 29, 2026 11:36https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34578892100
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/5fdc7b58-526c-43db-b659-212b9abde6d6
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Oct 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5697081847
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/e51412ddd3d59a6e2e1236f1efa1dd06c38343a9
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5697081847
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Preserve diagnostics for following-line verb blocks in fallback ASThttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4410828227
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Copilothttps://github.com/apps/copilot-pull-request-reviewer
October 29, 2026 12:53https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34586092908
started reviewinghttps://github.com/PowerShell/PSScriptAnalyzer/sessions/548d4177-8afe-46c4-bee7-3477f13dec5c
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 29, 2026 12:54https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34586155002
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/548d4177-8afe-46c4-bee7-3477f13dec5c
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Oct 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5698046576
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/e51412ddd3d59a6e2e1236f1efa1dd06c38343a9
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5698046576
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Fix gci alias handling when block follows on the next linehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4412586094
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
Rules/AvoidAlias.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/e51412ddd3d59a6e2e1236f1efa1dd06c38343a9#diff-40becd86a71ebd960dac7e49cc6af101462b7a2a804af2c58753f24f4a50119f
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
stack #2296https://github.com/PowerShell/PSScriptAnalyzer/stack/2296
October 29, 2026 13:15https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34588225386
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Oct 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#ref-pullrequest-6100446712
Preserve alias diagnostics for two-element DSC-shaped commands #2295 https://github.com/PowerShell/PSScriptAnalyzer/pull/2295
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
stack #2296https://github.com/PowerShell/PSScriptAnalyzer/stack/2296
October 29, 2026 14:53https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34598570530
https://github.com/apps/copilot-swe-agent
https://github.com/bergmeister
Preserve alias diagnostics for two-element DSC-shaped commands (https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/9914f203914af7b1b62fc4f69b343de2c220d8f5
#2295https://github.com/PowerShell/PSScriptAnalyzer/pull/2295
)https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/9914f203914af7b1b62fc4f69b343de2c220d8f5
9914f20https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/commits/9914f203914af7b1b62fc4f69b343de2c220d8f5
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
Copilothttps://github.com/apps/copilot-pull-request-reviewer
October 29, 2026 14:55https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34598738204
started reviewinghttps://github.com/PowerShell/PSScriptAnalyzer/sessions/da6711b8-d42f-4a93-b36a-105c7d98a815
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 29, 2026 14:55https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34598789085
View session https://github.com/PowerShell/PSScriptAnalyzer/sessions/da6711b8-d42f-4a93-b36a-105c7d98a815
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Oct 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5699879157
View reviewed changes https://github.com/PowerShell/PSScriptAnalyzer/pull/2270/files/9914f203914af7b1b62fc4f69b343de2c220d8f5
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#pullrequestreview-5699879157
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Fix gci alias handling when block follows on the next linehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270#discussion_r4412586094
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
October 29, 2026 15:54https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34605297455
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
code ownerhttps://github.com/PowerShell/PSScriptAnalyzer/blob/0151b9dafd1a7ba4279e0deeb03f04661223e629/.github/CODEOWNERS#L2
October 29, 2026 15:54https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34605301123
https://github.com/bergmeister
Christoph Bergmeister (bergmeister)https://github.com/bergmeister
stack #2298https://github.com/PowerShell/PSScriptAnalyzer/stack/2298
October 29, 2026 17:25https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#event-34614117661
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Oct 29, 2026 https://github.com/PowerShell/PSScriptAnalyzer/pull/2270#ref-pullrequest-6105033547
Distinguish script-defined functions from DSC resources #2297 https://github.com/PowerShell/PSScriptAnalyzer/pull/2297
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%2F2270
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/2270/files/9914f203914af7b1b62fc4f69b343de2c220d8f5
https://github.com/bergmeister
Christoph Bergmeister (bergmeister) https://github.com/bergmeister
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
https://github.com/bergmeister
Christoph Bergmeister (bergmeister) https://github.com/bergmeister
Copilot code review https://github.com/apps/copilot-swe-agent
Copilot https://github.com/apps/copilot-swe-agent
Auto Correct Aliases incorrectly expands DSC resources name thinking its an alias of a cmdlet https://github.com/PowerShell/PSScriptAnalyzer/issues/2025
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/2270
https://github.com/apps/copilot-swe-agent
https://github.com/bergmeister
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.