Title: unsigned modules should not load with `AllSigned` policy · Issue #5485 · PowerShell/PowerShell · GitHub
Open Graph Title: unsigned modules should not load with `AllSigned` policy · Issue #5485 · PowerShell/PowerShell
X Title: unsigned modules should not load with `AllSigned` policy · Issue #5485 · PowerShell/PowerShell
Description: Steps to reproduce Set-ExecutionPolicy -Policy AllSigned -scope process import-module pester -force #Import a module which lives in $PSHome But if you copy Pester out of $PSHome it will not load Expected behavior Actual behavior module l...
Open Graph Description: Steps to reproduce Set-ExecutionPolicy -Policy AllSigned -scope process import-module pester -force #Import a module which lives in $PSHome But if you copy Pester out of $PSHome it will not load Ex...
X Description: Steps to reproduce Set-ExecutionPolicy -Policy AllSigned -scope process import-module pester -force #Import a module which lives in $PSHome But if you copy Pester out of $PSHome it will not load Ex...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5485
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"unsigned modules should not load with `AllSigned` policy","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\n- Windows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\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--\u003e\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```powershell\r\nSet-ExecutionPolicy -Policy AllSigned -scope process\r\nimport-module pester -force #Import a module which lives in $PSHome\r\n```\r\n\r\nBut if you copy Pester out of $PSHome it will not load\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n\r\n\r\n\r\n\r\n\r\nActual behavior\r\n---------------\r\nmodule loads without error\r\n\r\nNotes\r\n-------\r\n\r\nPS 5.1 has the same behavior\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```powershell\r\n\u003e $PSVersionTable\r\nName Value\r\n---- -----\r\nPSVersion 6.0.0-rc\r\nPSEdition Core\r\nGitCommitId v6.0.0-rc\r\nOS Microsoft Windows 6.1.7601 S\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```\r\n","author":{"url":"https://github.com/TravisEz13","@type":"Person","name":"TravisEz13"},"datePublished":"2017-11-16T22:53:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/5485/PowerShell/issues/5485"}
| 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:122e0859-ba5c-e943-0496-ed26d1c9fb6f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A11E:2FBC1:963F27:CEDA67:6A57DD0B |
| html-safe-nonce | 18242342ba48fd55f07af44e22f90ee5490160e35eeeb287364043effafe0a3a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTFFOjJGQkMxOjk2M0YyNzpDRURBNjc6NkE1N0REMEIiLCJ2aXNpdG9yX2lkIjoiMzA3NDU1NzIxMTExODY1Njc3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6115f0cb969e31af22e823bc60aedb40b9d5c6beea8bfafb153cf1d821bcbd30 |
| hovercard-subject-tag | issue:274692578 |
| 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/5485/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6895d8feac3b819f7a1fa17df0276e818a098505064afc835d416fcdded0c997/PowerShell/PowerShell/issues/5485 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6895d8feac3b819f7a1fa17df0276e818a098505064afc835d416fcdded0c997/PowerShell/PowerShell/issues/5485 |
| og:image:alt | Steps to reproduce Set-ExecutionPolicy -Policy AllSigned -scope process import-module pester -force #Import a module which lives in $PSHome But if you copy Pester out of $PSHome it will not load Ex... |
| 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 | 837767abbd14b05f219fd812ef2842c659968b63619e1b966dded83972ab5bca |
| 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 | 36b9c371e4e031091f1b89adf913d9e6993943df |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width