Title: v6-beta.8: Potential regression of Remove-Item with wildcards and missing items · Issue #5031 · PowerShell/PowerShell · GitHub
Open Graph Title: v6-beta.8: Potential regression of Remove-Item with wildcards and missing items · Issue #5031 · PowerShell/PowerShell
X Title: v6-beta.8: Potential regression of Remove-Item with wildcards and missing items · Issue #5031 · PowerShell/PowerShell
Description: In all previous PowerShell versions (from v2 to v6-beta.7) Remove-Item ignores missing items if they are specified by wildcards, i.e. Remove-Item [z] -Force -Recurse Remove-Item z.* -Force -Recurse work fine if z or z.* is missing. In v6...
Open Graph Description: In all previous PowerShell versions (from v2 to v6-beta.7) Remove-Item ignores missing items if they are specified by wildcards, i.e. Remove-Item [z] -Force -Recurse Remove-Item z.* -Force -Recurse...
X Description: In all previous PowerShell versions (from v2 to v6-beta.7) Remove-Item ignores missing items if they are specified by wildcards, i.e. Remove-Item [z] -Force -Recurse Remove-Item z.* -Force -Recurse...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5031
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"v6-beta.8: Potential regression of Remove-Item with wildcards and missing items","articleBody":"In all previous PowerShell versions (from v2 to v6-beta.7) `Remove-Item`\r\nignores missing items if they are specified by wildcards, i.e.\r\n\r\n```powershell\r\nRemove-Item [z] -Force -Recurse\r\nRemove-Item z.* -Force -Recurse\r\n```\r\n\r\nwork fine if `z` or `z.*` is missing.\r\n\r\nIn v6-beta.8 the above commands fail.\r\n\r\nIs this by design or a regression?\r\n\r\n```\r\nPS\u003e $PSVersionTable\r\n\r\nName Value\r\n---- -----\r\nPSVersion 6.0.0-beta.8\r\nPSEdition Core\r\nGitCommitId v6.0.0-beta.8\r\nOS Microsoft Windows 10.0.10586\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n","author":{"url":"https://github.com/nightroman","@type":"Person","name":"nightroman"},"datePublished":"2017-10-06T05:27:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/5031/PowerShell/issues/5031"}
| 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:86b8086f-ee6b-2970-50be-7c468db666b1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B91C:397D2A:1599EC3:1F29471:6A58C7D5 |
| html-safe-nonce | c5986df9eded0b20798e63ac1fcf102485b6ec5843f4dd9af28e0cff24fe1c4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTFDOjM5N0QyQToxNTk5RUMzOjFGMjk0NzE6NkE1OEM3RDUiLCJ2aXNpdG9yX2lkIjoiNzU1NTM4NDUzOTYzMzczMTU0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a32ab9fbe6dddba7add941179474c0f23b26c059ba2f5bdf66401626abf60393 |
| hovercard-subject-tag | issue:263339606 |
| 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/5031/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1aa27ee183c13fc6b48090a39f93604b645b0ec14f342830d8b93e737a80ffa9/PowerShell/PowerShell/issues/5031 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1aa27ee183c13fc6b48090a39f93604b645b0ec14f342830d8b93e737a80ffa9/PowerShell/PowerShell/issues/5031 |
| og:image:alt | In all previous PowerShell versions (from v2 to v6-beta.7) Remove-Item ignores missing items if they are specified by wildcards, i.e. Remove-Item [z] -Force -Recurse Remove-Item z.* -Force -Recurse... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nightroman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width