Title: Problem running example in DemoConfig.ps1, fails on ScriptsToProcess · Issue #52 · PowerShell/JEA · GitHub
Open Graph Title: Problem running example in DemoConfig.ps1, fails on ScriptsToProcess · Issue #52 · PowerShell/JEA
X Title: Problem running example in DemoConfig.ps1, fails on ScriptsToProcess · Issue #52 · PowerShell/JEA
Description: The example in DemoConfig.ps1 has a problem with the property ScriptsToProcess. It is assigned a string, but it expects a string array. JEA/DSC Resource/DemoConfig.ps1 Lines 14 to 21 in e53cdcb JeaEndpoint Endpoint { EndpointName = "Micr...
Open Graph Description: The example in DemoConfig.ps1 has a problem with the property ScriptsToProcess. It is assigned a string, but it expects a string array. JEA/DSC Resource/DemoConfig.ps1 Lines 14 to 21 in e53cdcb Jea...
X Description: The example in DemoConfig.ps1 has a problem with the property ScriptsToProcess. It is assigned a string, but it expects a string array. JEA/DSC Resource/DemoConfig.ps1 Lines 14 to 21 in e53cdcb Jea...
Opengraph URL: https://github.com/PowerShell/JEA/issues/52
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problem running example in DemoConfig.ps1, fails on ScriptsToProcess","articleBody":"The example in DemoConfig.ps1 has a problem with the property `ScriptsToProcess`. It is assigned a string, but it expects a string array. \r\n\r\nhttps://github.com/PowerShell/JEA/blob/e53cdcb78fb9c80c564f7d0d57d295ca9198ae76/DSC%20Resource/DemoConfig.ps1#L14-L21\r\n\r\nRunning the example gives this error\r\n\r\n```\r\nConvert property 'ScriptsToProcess' value from type 'STRING' to type 'STRING[]' failed\r\n At line:12, char:2\r\n Buffer:\r\nirectResourceAccess\";\r\n};^\r\ninsta\r\n + CategoryInfo : SyntaxError: (root/Microsoft/...gurationManager:String) [], CimException\r\n + FullyQualifiedErrorId : MiClientApiError_Failed\r\n + PSComputerName : localhost\r\n```\r\n\r\nI suggest to change the property `ScriptsToProcess` to this\r\n\r\n```\r\nScriptsToProcess = @('C:\\ProgramData\\JeaEndpoint\\startup.ps1')\r\n```\r\n","author":{"url":"https://github.com/johlju","@type":"Person","name":"johlju"},"datePublished":"2018-08-13T15:04:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/52/JEA/issues/52"}
| 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:0c4a25ea-4639-a400-d8b2-f7fb8dccaf67 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9026:19EE8A:183528E:20EAFFF:6A651C8A |
| html-safe-nonce | 3ff0da761427141083a4937e7136637b3e8a47e45f0a29de14a13770fda88262 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDI2OjE5RUU4QToxODM1MjhFOjIwRUFGRkY6NkE2NTFDOEEiLCJ2aXNpdG9yX2lkIjoiMjk2MjY4OTg0NDM4Nzg0NzMwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 08d486a1aeea361307885189ee91499ee1051c13a889df6ed66fc375d2d4df91 |
| hovercard-subject-tag | issue:350069499 |
| 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/JEA/52/issue_layout |
| twitter:image | https://opengraph.githubassets.com/19fddf73c113c453f4cf7d560edb95d821b2e72b75650a67403d82587a0bf3eb/PowerShell/JEA/issues/52 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/19fddf73c113c453f4cf7d560edb95d821b2e72b75650a67403d82587a0bf3eb/PowerShell/JEA/issues/52 |
| og:image:alt | The example in DemoConfig.ps1 has a problem with the property ScriptsToProcess. It is assigned a string, but it expects a string array. JEA/DSC Resource/DemoConfig.ps1 Lines 14 to 21 in e53cdcb Jea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johlju |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/JEA git https://github.com/PowerShell/JEA.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 44835056 |
| octolytics-dimension-repository_nwo | PowerShell/JEA |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 44835056 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/JEA |
| 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 | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width