Title: Cannot load Microsoft.PowerShell.LocalAccounts module on linux · Issue #1329 · PowerShell/PowerShell · GitHub
Open Graph Title: Cannot load Microsoft.PowerShell.LocalAccounts module on linux · Issue #1329 · PowerShell/PowerShell
X Title: Cannot load Microsoft.PowerShell.LocalAccounts module on linux · Issue #1329 · PowerShell/PowerShell
Description: Steps to reproduce gcm *group set-localgroup Expected behavior set-localgroup should work, or tell you it's not applicable to this platform Actual behavior Set-LocalGroup : The 'Set-LocalGroup' command was found in the module 'Microsoft....
Open Graph Description: Steps to reproduce gcm *group set-localgroup Expected behavior set-localgroup should work, or tell you it's not applicable to this platform Actual behavior Set-LocalGroup : The 'Set-LocalGroup' com...
X Description: Steps to reproduce gcm *group set-localgroup Expected behavior set-localgroup should work, or tell you it's not applicable to this platform Actual behavior Set-LocalGroup : The 'Set-LocalGr...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/1329
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot load Microsoft.PowerShell.LocalAccounts module on linux","articleBody":"\u003c!--\n\nIf it is a bug report:\n- make sure you are able to repro it on the latest released version. \nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\n- Search the existing issues.\n- Refer to the [FAQ](../docs/FAQ.md).\n- Refer to the [known issues](../docs/KNOWNISSUES.md).\n- Fill out the following repro template\n\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\n-->\n## Steps to reproduce\n\n gcm *group \nset-localgroup\n## Expected behavior\n\nset-localgroup should work, or tell you it's not applicable to this platform \n## Actual behavior\n\n```\nSet-LocalGroup : The 'Set-LocalGroup' command was found in the module 'Microsoft.PowerShell.LocalAccounts', but the module\ncould not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.LocalAccounts'.\nAt line:1 char:1\n+ Set-LocalGroup\n+ ~~~~~~~~~~~~~~\n + CategoryInfo : ObjectNotFound: (Set-LocalGroup:String) [], CommandNotFoundException\n + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule\n\nPS > Import-Module Microsoft.PowerShell.LocalAccounts \nImport-Module : The module to process 'Microsoft.Powershell.LocalAccounts', listed in field 'ModuleToProcess/RootModule'\nof module manifest\n'/opt/microsoft/powershell/Modules/Microsoft.PowerShell.LocalAccounts/Microsoft.PowerShell.LocalAccounts.psd1' was not\nprocessed because no valid module was found in any module directory.\nAt line:1 char:1\n+ Import-Module Microsoft.PowerShell.LocalAccounts\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n + CategoryInfo : ResourceUnavailable: (Microsoft.PowerShell.LocalAccounts:String) [Import-Module], PSInvalidO\n perationException\n + FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand\n\n```\n## Environment data\n\n\u003c!-- provide the output of $PSVersionTable -->\n\n``` powershell\n> $PSVersionTable\n\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.6.0\nCLRVersion\nWSManStackVersion 1.0\nPSRemotingProtocolVersion 2.3\nSerializationVersion 1.1.0.1\n\n```\n","author":{"url":"https://github.com/TravisEz13","@type":"Person","name":"TravisEz13"},"datePublished":"2016-07-09T19:31:33Z","url":"https://github.com/PowerShell/PowerShell/issues/1329"}
| 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:b57cc810-4fcd-e7ff-1e04-b85937e5bac0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D78E:27478C:109393:174FA1:6AFD6D0B |
| html-safe-nonce | d665d5c2f85d160a55211bd28fb33edd58108f6111db9c816985bd6327334570 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzhFOjI3NDc4QzoxMDkzOTM6MTc0RkExOjZBRkQ2RDBCIiwidmlzaXRvcl9pZCI6IjM5NzI4ODc5MDY0MjYzODM2MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bdd2bee7bc31bc4e9e819568c301664fd4c2484979a47dc643d17ce3777a2c57 |
| hovercard-subject-tag | issue:164681927 |
| 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/1329/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b0fcc6ad2fdd8016b6e26a5816d9a1f75e804bcccf6d828314a62b49934f24d0/PowerShell/PowerShell/issues/1329 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b0fcc6ad2fdd8016b6e26a5816d9a1f75e804bcccf6d828314a62b49934f24d0/PowerShell/PowerShell/issues/1329 |
| og:image:alt | Steps to reproduce gcm *group set-localgroup Expected behavior set-localgroup should work, or tell you it's not applicable to this platform Actual behavior Set-LocalGroup : The 'Set-LocalGroup' com... |
| 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 | 9985ca2e21b59673104d4d830d4afeb946c67f248f273ab2e824c31c8db46e4a |
| 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 | 0db9e8d463c3f4540570e6ad3c501a06db9dc02a |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width