mirror of
https://github.com/PowerShell/PSDesiredStateConfiguration
synced 2026-06-21 13:45:25 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f9956c34de |
@@ -1,5 +1,13 @@
|
|||||||
# v2 Changelog
|
# 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]
|
## [v2.0.6]
|
||||||
|
|
||||||
### Main changes
|
### Main changes
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
RootModule = 'PSDesiredStateConfiguration.psm1'
|
RootModule = 'PSDesiredStateConfiguration.psm1'
|
||||||
|
|
||||||
# Version number of this module.
|
# Version number of this module.
|
||||||
moduleVersion = '2.0.6'
|
moduleVersion = '2.0.7'
|
||||||
|
|
||||||
# Supported PSEditions
|
# Supported PSEditions
|
||||||
CompatiblePSEditions = @('Core')
|
CompatiblePSEditions = @('Core')
|
||||||
|
|||||||
@@ -4749,7 +4749,7 @@ function Invoke-DscClassBasedResource
|
|||||||
$iss = [System.Management.Automation.Runspaces.InitialSessionState]::CreateDefault2()
|
$iss = [System.Management.Automation.Runspaces.InitialSessionState]::CreateDefault2()
|
||||||
$powershell = [PowerShell]::Create($iss)
|
$powershell = [PowerShell]::Create($iss)
|
||||||
$script = @"
|
$script = @"
|
||||||
using module $path
|
using module "$path"
|
||||||
|
|
||||||
Write-Host -Message ([$type]::new | out-string)
|
Write-Host -Message ([$type]::new | out-string)
|
||||||
return [$type]::new()
|
return [$type]::new()
|
||||||
|
|||||||
Reference in New Issue
Block a user