-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-utilityArea - Microsoft.PowerShell.Utility moduleArea - Microsoft.PowerShell.Utility module
Milestone
Description
Summary of the new document or enhancement
- List of articles that need to be updated: Write-Error for 7.2
- New articles that need to be created:
- Link(s) to related code PR(s) in the PowerShell/PowerShell repo: Add position 0 to Write-Error parameters PowerShell/PowerShell#13813
- Link(s) to related issue(s) in the PowerShell/PowerShell repo: Write-Error should use positional binding to -ErrorRecord and -Exception PowerShell/PowerShell#10739
Description of what changed
Add Position = 0 to Write-Error to Exception and ErrorRecord parameters.
Metadata
Metadata
Assignees
Labels
area-utilityArea - Microsoft.PowerShell.Utility moduleArea - Microsoft.PowerShell.Utility module