Title: Help cmdlet fails in PS 6.1.0-preview.1 when StrictMode is enabled · Issue #6497 · PowerShell/PowerShell · GitHub
Open Graph Title: Help cmdlet fails in PS 6.1.0-preview.1 when StrictMode is enabled · Issue #6497 · PowerShell/PowerShell
X Title: Help cmdlet fails in PS 6.1.0-preview.1 when StrictMode is enabled · Issue #6497 · PowerShell/PowerShell
Description: Steps to reproduce Set-StrictMode -Version Latest help or Set-StrictMode -Version Latest man Expected behavior TOPIC PowerShell Help System SHORT DESCRIPTION Displays help about PowerShell cmdlets and concepts. ... Actual behavior PSMess...
Open Graph Description: Steps to reproduce Set-StrictMode -Version Latest help or Set-StrictMode -Version Latest man Expected behavior TOPIC PowerShell Help System SHORT DESCRIPTION Displays help about PowerShell cmdlets ...
X Description: Steps to reproduce Set-StrictMode -Version Latest help or Set-StrictMode -Version Latest man Expected behavior TOPIC PowerShell Help System SHORT DESCRIPTION Displays help about PowerShell cmdlets ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6497
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Help cmdlet fails in PS 6.1.0-preview.1 when StrictMode is enabled ","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-->\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```powershell\r\nSet-StrictMode -Version Latest\r\nhelp\r\n```\r\nor\r\n\r\n```powershell\r\nSet-StrictMode -Version Latest\r\nman\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```powershell\r\nTOPIC \r\n PowerShell Help System \r\n \r\nSHORT DESCRIPTION \r\n Displays help about PowerShell cmdlets and concepts. \r\n...\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```powershell\r\nPSMessageDetails :\r\nException : System.Management.Automation.RuntimeException: The variable '$moreArgs' cannot be retrieved because it has not been set.\r\n at System.Management.Automation.VariableOps.GetVariableValue(VariablePath variablePath, ExecutionContext executionContext, VariableExpressionAst varAst)\r\n at System.Management.Automation.Interpreter.FuncCallInstruction`4.Run(InterpretedFrame frame)\r\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\r\nTargetObject : moreArgs\r\nCategoryInfo : InvalidOperation: (moreArgs:String) [], RuntimeException\r\nFullyQualifiedErrorId : VariableIsUndefined\r\nErrorDetails :\r\nInvocationInfo : System.Management.Automation.InvocationInfo\r\nScriptStackTrace : at \u003cScriptBlock>, \u003cNo file>: line 24\r\n at \u003cScriptBlock>, \u003cNo file>: line 69\r\n at \u003cScriptBlock>, \u003cNo file>: line 1\r\nPipelineIterationInfo : {}\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.1.0-preview.1\r\nPSEdition Core\r\nGitCommitId v6.1.0-preview.1\r\nOS Microsoft Windows 10.0.16299\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","author":{"url":"https://github.com/kborowinski","@type":"Person","name":"kborowinski"},"datePublished":"2018-03-25T18:32:25Z","url":"https://github.com/PowerShell/PowerShell/issues/6497"}
| 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:7e1b2fb6-652b-616f-8a8c-6c0a7a463628 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1B0:109943:36105:494C8:6AFD47EA |
| html-safe-nonce | 60d6a691c086849f63a91e891eafd508287d8f6ac0322778b38f1f15f8165bab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUIwOjEwOTk0MzozNjEwNTo0OTRDODo2QUZENDdFQSIsInZpc2l0b3JfaWQiOiI2MzYxMjgwODc4NTU4OTIyNzMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5d010ddd3d6d9312c5dcc86b871f7ff7e5696a3998c1a386b62777b35626976a |
| hovercard-subject-tag | issue:308373263 |
| 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/6497/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2d02ef8d92812c55931bdd9f8245eb6354a6b181fa403b34ebda6ca304ad4630/PowerShell/PowerShell/issues/6497 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2d02ef8d92812c55931bdd9f8245eb6354a6b181fa403b34ebda6ca304ad4630/PowerShell/PowerShell/issues/6497 |
| og:image:alt | Steps to reproduce Set-StrictMode -Version Latest help or Set-StrictMode -Version Latest man Expected behavior TOPIC PowerShell Help System SHORT DESCRIPTION Displays help about PowerShell cmdlets ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kborowinski |
| 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