Title: unblock-file on linux failes with module could not be found · Issue #1207 · PowerShell/PowerShell · GitHub
Open Graph Title: unblock-file on linux failes with module could not be found · Issue #1207 · PowerShell/PowerShell
X Title: unblock-file on linux failes with module could not be found · Issue #1207 · PowerShell/PowerShell
Description: Steps to reproduce unblock-file Expected behavior fail similarly to get-execution policy with operation is not supported on this platform Actual behavior unblock-file : Unable to load DLL 'api-ms-win-core-file-l1-2-1.dll': The specified ...
Open Graph Description: Steps to reproduce unblock-file Expected behavior fail similarly to get-execution policy with operation is not supported on this platform Actual behavior unblock-file : Unable to load DLL 'api-ms-w...
X Description: Steps to reproduce unblock-file Expected behavior fail similarly to get-execution policy with operation is not supported on this platform Actual behavior unblock-file : Unable to load DLL 'api-...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/1207
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"unblock-file on linux failes with module could not be found","articleBody":"\u003c!--\n\nIf you are running a released version of powershell, but not the latest one, install the latest from https://github.com/PowerShell/PowerShell/releases and try to repro it again\n\nBefore submitting this issue, please first:\n\n- [X] Search the existing issues.\n- [ ] Refer to the [FAQ](../docs/FAQ.md).\n- [X] Refer to the [known issues](../docs/KNOWNISSUES.md).\n- [X] If it is a bug, fill out this form:\n-->\n## Steps to reproduce\n\nunblock-file \u003cfile>\n## Expected behavior\n\nfail similarly to get-execution policy with operation is not supported on this platform\n## Actual behavior\n\n```\nunblock-file : Unable to load DLL 'api-ms-win-core-file-l1-2-1.dll': The \nspecified module could not be found.\n (Exception from HRESULT: 0x8007007E)\nAt line:1 char:1\n+ unblock-file ./.bash_history\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n + CategoryInfo : NotSpecified: (:) [Unblock-File], DllNotFoundExc \n eption\n + FullyQualifiedErrorId : System.DllNotFoundException,Microsoft.PowerShell \n .Commands.UnblockFileCommand\n```\n## Environment data\n\n\u003c!-- If running the latest released version, specify the version, i.e. -->\n\nv0.5.0\n\n\u003c!-- If running you own build, please fill in the results of the following commands: -->\n\n```\n> $PSVersionTable\nName Value \n---- ----- \nPSVersion 5.1.10032.0 \nPSEdition Linux \nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} \nBuildVersion 3.0.0.0 \nGitCommitId v0.5.0 \nCLRVersion \nWSManStackVersion 1.0 \nPSRemotingProtocolVersion 2.3 \nSerializationVersion 1.1.0.1 \n```\n\n``` sh\n$ dotnet --info\n\n\n$ git rev-parse HEAD; git status\n\n\n```\n","author":{"url":"https://github.com/TravisEz13","@type":"Person","name":"TravisEz13"},"datePublished":"2016-06-26T17:35:20Z","url":"https://github.com/PowerShell/PowerShell/issues/1207"}
| 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:3accd548-ff4d-808b-05ca-65e55712fb13 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE6E:AB571:138E39:1C8002:6AFD7226 |
| html-safe-nonce | 92f80ba50de6e105a217c2c4e444b7441b5bab6d91a61e1b6730ca8dcd551fb0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTZFOkFCNTcxOjEzOEUzOToxQzgwMDI6NkFGRDcyMjYiLCJ2aXNpdG9yX2lkIjoiNTQwNzc3NjYyOTY1MDcxNTE3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9967a0e489f20a4139b8f6156772ae1d22909ffc4fb593b34e078bcbf354bbba |
| hovercard-subject-tag | issue:162338112 |
| 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/1207/issue_layout |
| twitter:image | https://opengraph.githubassets.com/674b3145020d66e2fddf748cf158abf831ca9d66da805eca24ba26fc9c0aa964/PowerShell/PowerShell/issues/1207 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/674b3145020d66e2fddf748cf158abf831ca9d66da805eca24ba26fc9c0aa964/PowerShell/PowerShell/issues/1207 |
| og:image:alt | Steps to reproduce unblock-file Expected behavior fail similarly to get-execution policy with operation is not supported on this platform Actual behavior unblock-file : Unable to load DLL 'api-ms-w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TravisEz13 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e54006cf2b96d1ac260960edd10003132911469ccd1ec99c9803119fe2a4e032 |
| 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 | 5be0bf2b8cf26f8897d31e6bc3c232d328b12a54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width