Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG/v2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# v2 Changelog

## [v2.0.7]

### Main changes

- Fixed Invoke-DscResource error when a class-based resource module path contains a space.

[v2.0.7]: https://www.powershellgallery.com/packages/PSDesiredStateConfiguration/2.0.7

## [v2.0.6]

### Main changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
RootModule = 'PSDesiredStateConfiguration.psm1'

# Version number of this module.
moduleVersion = '2.0.6'
moduleVersion = '2.0.7'

# Supported PSEditions
CompatiblePSEditions = @('Core')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4749,7 +4749,7 @@ function Invoke-DscClassBasedResource
$iss = [System.Management.Automation.Runspaces.InitialSessionState]::CreateDefault2()
$powershell = [PowerShell]::Create($iss)
$script = @"
using module $path
using module "$path"

Write-Host -Message ([$type]::new | out-string)
return [$type]::new()
Expand Down