Title: DSC Configurations should work on windows · Issue #4570 · PowerShell/PowerShell · GitHub
Open Graph Title: DSC Configurations should work on windows · Issue #4570 · PowerShell/PowerShell
X Title: DSC Configurations should work on windows · Issue #4570 · PowerShell/PowerShell
Description: Repro configuration foo { service foo { name ='foo' } } foo Expected behavior should run configuration Actual behavior WARNING: The names of some imported commands from the module 'PSDesiredStateConfiguration' include unapproved verbs th...
Open Graph Description: Repro configuration foo { service foo { name ='foo' } } foo Expected behavior should run configuration Actual behavior WARNING: The names of some imported commands from the module 'PSDesiredStateCo...
X Description: Repro configuration foo { service foo { name ='foo' } } foo Expected behavior should run configuration Actual behavior WARNING: The names of some imported commands from the module 'PSDe...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4570
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DSC Configurations should work on windows","articleBody":"## Repro\r\n\r\n```powershell\r\nconfiguration foo {\r\n service foo {\r\n name ='foo'\r\n } \r\n}\r\nfoo\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\nshould run configuration\r\n\r\nActual behavior\r\n---------------\r\n\r\n```none\r\nWARNING: The names of some imported commands from the module 'PSDesiredStateConfiguration' include unapproved verbs\r\nthat might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again\r\n with the Verbose parameter. For a list of approved verbs, type Get-Verb.\r\nout-file : Could not find a part of the path 'C:\\dev\\null'.\r\nAt C:\\program files\\powershell\\6.0.0-beta.5\\Modules\\PSDesiredStateConfiguration\\PSDesiredStateConfiguration.psm1:1957\r\nchar:17\r\n+ ... New-Item -ErrorVariable mkdirError -ItemType Directory -F ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException\r\n + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand\r\n```\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\n\r\nName Value\r\n---- -----\r\nPSVersion 6.0.0-beta\r\nPSEdition Core\r\nGitCommitId v6.0.0-beta.5\r\nOS Microsoft Windows 10.0.15063\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## Additional data\r\n\r\nPSDesiredStateConfiguration.psm1:1597 is hard coded to output to `/dev/null` which doesn't work on windows\r\n","author":{"url":"https://github.com/TravisEz13","@type":"Person","name":"TravisEz13"},"datePublished":"2017-08-14T16:17:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/4570/PowerShell/issues/4570"}
| 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:063dbbd6-1e64-4cf0-cd4c-312452af50b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C4C4:F42C1:4FDAA4:6C3BC0:6A57D5EC |
| html-safe-nonce | b177f52e61592ad225a336fefdb33bde775a9fd13a8b0a8bf1c210a84bba806a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEM0OkY0MkMxOjRGREFBNDo2QzNCQzA6NkE1N0Q1RUMiLCJ2aXNpdG9yX2lkIjoiMjYxNjE2NTI5ODc2MDgzMjQ5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | efd66a665efb807d8c74f92724f3f286a3f891808d9d6bfe9e2e65b5414789bf |
| hovercard-subject-tag | issue:250080961 |
| 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/4570/issue_layout |
| twitter:image | https://opengraph.githubassets.com/462b7e0caaa28c3fc568ecce09faade81fa90c8c41c698c696a3d27748401673/PowerShell/PowerShell/issues/4570 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/462b7e0caaa28c3fc568ecce09faade81fa90c8c41c698c696a3d27748401673/PowerShell/PowerShell/issues/4570 |
| og:image:alt | Repro configuration foo { service foo { name ='foo' } } foo Expected behavior should run configuration Actual behavior WARNING: The names of some imported commands from the module 'PSDesiredStateCo... |
| 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 | 9044d0f867aa9892268d1f430238ff123e11ee91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width