-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Area-DSCDesired State Configuration issuesDesired State Configuration issuesResolution-FixedThe issue is fixed.The issue is fixed.
Milestone
Description
Repro
configuration foo {
service foo {
name ='foo'
}
}
fooExpected behavior
should run configuration
Actual behavior
WARNING: The names of some imported commands from the module 'PSDesiredStateConfiguration' include unapproved verbs
that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again
with the Verbose parameter. For a list of approved verbs, type Get-Verb.
out-file : Could not find a part of the path 'C:\dev\null'.
At C:\program files\powershell\6.0.0-beta.5\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:1957
char:17
+ ... New-Item -ErrorVariable mkdirError -ItemType Directory -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.0-beta
PSEdition Core
GitCommitId v6.0.0-beta.5
OS Microsoft Windows 10.0.15063
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Additional data
PSDesiredStateConfiguration.psm1:1597 is hard coded to output to /dev/null which doesn't work on windows
Metadata
Metadata
Assignees
Labels
Area-DSCDesired State Configuration issuesDesired State Configuration issuesResolution-FixedThe issue is fixed.The issue is fixed.