Title: The new `-ProgressAction` common parameter breaks calls to advanced scripts and functions. · Issue #20657 · PowerShell/PowerShell · GitHub
Open Graph Title: The new `-ProgressAction` common parameter breaks calls to advanced scripts and functions. · Issue #20657 · PowerShell/PowerShell
X Title: The new `-ProgressAction` common parameter breaks calls to advanced scripts and functions. · Issue #20657 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/20657
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The new `-ProgressAction` common parameter breaks calls to advanced scripts and functions.","articleBody":"### Prerequisites\r\n\r\n- [X] Write a descriptive title.\r\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- [X] Search the existing issues.\r\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\r\n\r\n### Steps to reproduce\r\n\r\n`-ProgressAction Ignore` should translate into a target scope-local `$ProgressPreference = 'Ignore'` variable, analogously to how it works with other common parameter, such as `-ErrorAction`.\r\n\r\n```powershell\r\n\u0026 { [CmdletBinding()]param() $ProgressPreference } -ProgressAction Ignore\r\n```\r\n\r\n### Expected behavior\r\n\r\n```console\r\nIgnore\r\n```\r\n\r\n\r\n### Actual behavior\r\n\r\nThe following error occurs:\r\n\r\n```none\r\n: Specified argument was out of the range of valid values. (Parameter 'index')\r\n```\r\n\r\n\r\n### Error details\r\n\r\n_No response_\r\n\r\n### Environment data\r\n\r\n```powershell\r\nPowerShell 7.4.1\r\n```\r\n\r\n\r\n### Visuals\r\n\r\n_No response_","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2023-11-08T15:52:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/20657/PowerShell/issues/20657"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:49685702-f63f-a0d4-96f7-20e0779c4ca0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE2C:194F15:2994EEF:3909F83:6964E600 |
| html-safe-nonce | d4aa1786bf210d0400732a04a0dbe586b9694ddf9b8e1a7bbaa4e13c02855382 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTJDOjE5NEYxNToyOTk0RUVGOjM5MDlGODM6Njk2NEU2MDAiLCJ2aXNpdG9yX2lkIjoiMTI3MzQxMjYwOTA5MTM2NDM1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 43a7f65e6a7ece18732c2f555820fffed95bc5a12447741ef31124205b2fe196 |
| hovercard-subject-tag | issue:1983913047 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/20657/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c04452e6ac8c5d0d2191f56e410302f4718d8c549fdfae9da5bf3557574eda30/PowerShell/PowerShell/issues/20657 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c04452e6ac8c5d0d2191f56e410302f4718d8c549fdfae9da5bf3557574eda30/PowerShell/PowerShell/issues/20657 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mklement0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3c30097417ecb9dfdab6b2e8bc7dc38d73e183d6ad48f94cb69e4a5daa2dbb87 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 69fc54a84c74307369dba42af5401200531d116e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width