Title: Get-PSHostProcessInfo fails on non-Windows · Issue #5081 · PowerShell/PowerShell · GitHub
Open Graph Title: Get-PSHostProcessInfo fails on non-Windows · Issue #5081 · PowerShell/PowerShell
X Title: Get-PSHostProcessInfo fails on non-Windows · Issue #5081 · PowerShell/PowerShell
Description: We may have to disable this cmdlet on non-Windows Steps to reproduce Get-PSHostProcessInfo Expected behavior List PowerShell processes Actual behavior Get-PSHostProcessInfo : Unable to load DLL 'api-ms-win-core-file-l1-1-0.dll': The spec...
Open Graph Description: We may have to disable this cmdlet on non-Windows Steps to reproduce Get-PSHostProcessInfo Expected behavior List PowerShell processes Actual behavior Get-PSHostProcessInfo : Unable to load DLL 'ap...
X Description: We may have to disable this cmdlet on non-Windows Steps to reproduce Get-PSHostProcessInfo Expected behavior List PowerShell processes Actual behavior Get-PSHostProcessInfo : Unable to load DLL ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5081
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get-PSHostProcessInfo fails on non-Windows","articleBody":"We may have to disable this cmdlet on non-Windows\r\n\r\n\u003c!--\r\n\r\nIf it is a bug report:\r\n- make sure you are able to repro it on the latest released version. \r\nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://github.com/PowerShell/PowerShell/blob/master/docs/KNOWNISSUES.md).\r\n- Fill out the following repro template\r\n\r\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\r\n-->\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```powershell\r\nGet-PSHostProcessInfo \r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```none\r\nList PowerShell processes\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```none\r\nGet-PSHostProcessInfo : Unable to load DLL 'api-ms-win-core-file-l1-1-0.dll': The specified module or one of its dependencies could not be found.\r\n (Exception from HRESULT: 0x8007007E)\r\nAt line:1 char:1\r\n+ Get-PSHostProcessInfo\r\n+ ~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : NotSpecified: (:) [Get-PSHostProcessInfo], DllNotFoundException\r\n + FullyQualifiedErrorId : System.DllNotFoundException,Microsoft.PowerShell.Commands.GetPSHostProcessInfoCommand\r\n\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\nName Value \r\n---- ----- \r\nPSVersion 6.0.0-beta.8 \r\nPSEdition Core \r\nGitCommitId v6.0.0-beta.8 \r\nOS Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 \r\nPlatform Unix \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```","author":{"url":"https://github.com/SteveL-MSFT","@type":"Person","name":"SteveL-MSFT"},"datePublished":"2017-10-11T01:47:27Z","url":"https://github.com/PowerShell/PowerShell/issues/5081"}
| 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:1c823d53-82a0-d1b2-eebf-319499d6c30a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B410:1EF581:6E5D7B:A140DF:6AFD80CF |
| html-safe-nonce | 0b45a3a9f7d3dd7df35ccc7468876f9616c0f2220607f9f587a2f68d87c375de |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDEwOjFFRjU4MTo2RTVEN0I6QTE0MERGOjZBRkQ4MENGIiwidmlzaXRvcl9pZCI6IjI3MTg4NTYwNTk4NTM1NzAyNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ff15b50e6ecca39b3633287da760b82d2da18228fe1a48d9c2b50c02431c5e53 |
| hovercard-subject-tag | issue:264431449 |
| 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/5081/issue_layout |
| twitter:image | https://opengraph.githubassets.com/23d06e030789f0fcff71fb0ee92fb2b7027d079f1e5e25d5c48b401f476c1bbd/PowerShell/PowerShell/issues/5081 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/23d06e030789f0fcff71fb0ee92fb2b7027d079f1e5e25d5c48b401f476c1bbd/PowerShell/PowerShell/issues/5081 |
| og:image:alt | We may have to disable this cmdlet on non-Windows Steps to reproduce Get-PSHostProcessInfo Expected behavior List PowerShell processes Actual behavior Get-PSHostProcessInfo : Unable to load DLL 'ap... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SteveL-MSFT |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| 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 | 2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width