In this article
Coding Standards/Powershell/Powershell
| Field | Value |
|---|---|
| Kind | instruction |
| Source | .github/instructions/coding-standards/powershell/powershell.instructions.md |
| Invocation | Applied automatically to **/*.ps1, **/*.psm1, **/*.psd1 |
| Interactive | No |
What it does
PowerShell scripting conventions
When to use it
Apply these conventions when creating or modifying PowerShell scripts,
modules, or data files. They govern structure, help, parameter validation,
error handling, and repository logging; .Tests.ps1 files additionally use
the Pester-specific instructions.
Example usage
Provide a concrete example that shows the asset in action, including representative input and the resulting output.