Skip to content

$ErrorActionPreference doesn't affect stderr output for native commands #6466

@daxian-dbw

Description

@daxian-dbw

Summary of the new document or enhancement

The PR PowerShell/PowerShell#13361 made a breaking change that $ErrorActionPreference doesn't affect stderr output for native commands.
Also the error records generated from the stderr output of native commands are not put in $Error and variable specified by -ErrorVariable.

Description of what changed

Metadata

Metadata

Assignees

Labels

area-aboutArea - About_ topics

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions