Title: Get-ChildItem with FileSystem Provider: behaves inconsequent with -Include · Issue #3304 · PowerShell/PowerShell · GitHub
Open Graph Title: Get-ChildItem with FileSystem Provider: behaves inconsequent with -Include · Issue #3304 · PowerShell/PowerShell
X Title: Get-ChildItem with FileSystem Provider: behaves inconsequent with -Include · Issue #3304 · PowerShell/PowerShell
Description: Good evening If we use the -Include argument with Get-Childitem on the FileSystem Provider, then Get-Childitem changes it's behaviour: Steps to reproduce OK: Without the -Include argument Get-ChildItem works as expected: PS C:\Temp> Get-...
Open Graph Description: Good evening If we use the -Include argument with Get-Childitem on the FileSystem Provider, then Get-Childitem changes it's behaviour: Steps to reproduce OK: Without the -Include argument Get-Child...
X Description: Good evening If we use the -Include argument with Get-Childitem on the FileSystem Provider, then Get-Childitem changes it's behaviour: Steps to reproduce OK: Without the -Include argument Get-C...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/3304
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get-ChildItem with FileSystem Provider: behaves inconsequent with -Include","articleBody":"Good evening\r\n\r\nIf we use the -Include argument with Get-Childitem on the FileSystem Provider, then Get-Childitem changes it's behaviour:\r\n\r\nSteps to reproduce\r\n------------------\r\n**OK: Without the -Include argument Get-ChildItem works as expected:** \r\n```\r\nPS C:\\Temp> Get-ChildItem\r\n Directory: C:\\Temp\\= EdNe - Beröa\r\nMode LastWriteTime Length Name\r\n---- ------------- ------ ----\r\n-a---- 10.03.2017 16:48 106678 1001-600x600.jpg\r\n-a---- 10.03.2017 16:48 58204 1519-600x600.jpg\r\n```\r\n**Inconsequent and therefore annyoing if we use the -Include Argument**\r\n```\r\nPS C:\\Temp> Get-ChildItem -Include @('*.*')\r\nPS C:\\Temp> _(no result returned)_\r\n\r\n```\r\nExpected behavior\r\n-----------------\r\nOf course, \r\n`Get-ChildItem -Include @('*.*') `\r\nshould return the same results as \r\n`Get-ChildItem`\r\n\r\nActual behavior\r\n---------------\r\nIf we use the -Include Argument, then Get-ChildItem must process the same directories - independent if we use the -Indlude Argument.\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```\r\nName Value\r\n---- -----\r\nPSVersion 5.1.14393.693\r\nPSEdition Desktop\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nBuildVersion 10.0.14393.693\r\nCLRVersion 4.0.30319.42000\r\nWSManStackVersion 3.0\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\n\r\n```","author":{"url":"https://github.com/schittli","@type":"Person","name":"schittli"},"datePublished":"2017-03-10T20:00:02Z","url":"https://github.com/PowerShell/PowerShell/issues/3304"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:8af78b57-6b6e-1a23-cf50-4925f30ee750 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE42:497D3:5CB48:7DEE9:6AFD48A4 |
| html-safe-nonce | 6fc6a107a404b36be4a0e6ac51568fdb22ddfd8c59afa456226fb3e0ce5447a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTQyOjQ5N0QzOjVDQjQ4OjdERUU5OjZBRkQ0OEE0IiwidmlzaXRvcl9pZCI6IjgwOTk5MDM0Nzg0MzM2NjMxNDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9edf855e2b93028fce50d12209bbc0323ad0c955b148da09f01e463a95bfca4f |
| hovercard-subject-tag | issue:213437810 |
| 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/3304/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f1d2a2cd6849a8279c0ed8d315471e34948cdac3a163ee0f126a4f4080aedc8e/PowerShell/PowerShell/issues/3304 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f1d2a2cd6849a8279c0ed8d315471e34948cdac3a163ee0f126a4f4080aedc8e/PowerShell/PowerShell/issues/3304 |
| og:image:alt | Good evening If we use the -Include argument with Get-Childitem on the FileSystem Provider, then Get-Childitem changes it's behaviour: Steps to reproduce OK: Without the -Include argument Get-Child... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | schittli |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| 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 | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width