Prerequisites
Steps to reproduce
-ProgressAction Ignore should translate into a target scope-local $ProgressPreference = 'Ignore' variable, analogously to how it works with other common parameter, such as -ErrorAction.
& { [CmdletBinding()]param() $ProgressPreference } -ProgressAction Ignore
Expected behavior
Actual behavior
The following error occurs:
: Specified argument was out of the range of valid values. (Parameter 'index')
Error details
No response
Environment data
Visuals
No response
Prerequisites
Steps to reproduce
-ProgressAction Ignoreshould translate into a target scope-local$ProgressPreference = 'Ignore'variable, analogously to how it works with other common parameter, such as-ErrorAction.Expected behavior
IgnoreActual behavior
The following error occurs:
Error details
No response
Environment data
Visuals
No response