Skip to content

Missing Test to check for Parameter Capitlisation in PowerShell Files #26614

Description

@kilasuit

Prerequisites

Steps to reproduce

This comment from Copilot picked up that we could do with adding a test, perhaps via a ScriptAnalyzer Rule for all .ps1 files that checks parameters are properly capitalised.

This was missed as part of #25763 that I submitted but found in #26571 though isn't critical to fix.

Expected behavior

Set-Alias -Name tma -Value Test-MyAlias -Force

Actual behavior

Set-Alias -Name tma -Value Test-MyAlias -force

Error details

Environment data

N/A

Visuals

No response

Metadata

Metadata

Assignees

Labels

First-Time-IssueEasy issues first time contributors can work on to learn about this projectUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Quality-Testissues in a test or in test infrastructure

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions