Releases: dsccommunity/DscResource.Common
Releases · dsccommunity/DscResource.Common
v0.13.1-preview0001
[v0.13.1-preview0001]
Changed
- DscResource.Common
- Now builds the module into a separate folder
output/builtModule
.
- Now builds the module into a separate folder
Fixed
Test-IsNumericType
- Now handles arrays correctly.
v0.13.0
[v0.13.0]
Added
- Added public function
Test-IsNumericType
that returns whether the specified
object is of a numeric type - Issue #87- Related to SqlServerDsc Issue #1795.
Changed
Assert-ElevatedUser
- Renamed the localized string key name and prepared the localized string
file to be able to distinguish which key belong to which command.
- Renamed the localized string key name and prepared the localized string
v0.13.0-preview0002
[v0.13.0-preview0002]
Added
- Added public function
Test-IsNumericType
that returns whether the specified
object is of a numeric type - Issue #87- Related to SqlServerDsc Issue #1795.
Changed
Assert-ElevatedUser
- Renamed the localized string key name and prepared the localized string
file to be able to distinguish which key belong to which command.
- Renamed the localized string key name and prepared the localized string
v0.13.0-preview0001
[v0.13.0-preview0001]
Changed
Assert-ElevatedUser
- Renamed the localized string key name and prepared the localized string
file to be able to distinguish which key belong to which command.
- Renamed the localized string key name and prepared the localized string
v0.12.0
v0.12.0-preview0001
[v0.12.0-preview0001]
Added
- Added public function
Assert-ElevatedUser
that asserts the user has elevated
the PowerShell session. issue #82- Related to SqlServerDsc issue #1797.
v0.11.1
v0.11.1-preview0001
[v0.11.1-preview0001]
Changed
- DscResource.Common
- updating the Get-LocalizedData to bypass Import-LocalizedData when in Globalization-Invariant mode.
The command throws when running on an Invariant culture on Linux in the latest PS versions.
- updating the Get-LocalizedData to bypass Import-LocalizedData when in Globalization-Invariant mode.
v0.11.0
[v0.11.0]
Changed
- DscResource.Common
- Update pipeline files to the latest in Sampler.
- Fix missing tasks module.
- Update unit tests to import and remove the module being tested.
- Update pipeline files to the latest in Sampler.
Fixed
- Correction to
Compare-DscParameterState
returning false positive when parameter
with an empty hashtable or CimInstance property is passed inDesriedValues
- fixes
issue #65. - Correction somes problems in
Compare-DscParameterState
- see issue #70 :- When you use
-ReverseCheck
, this value is used in recursive call of
Test-DscParameterState
andCompare-DscParameterState
, and that called
another time the function. - When you use
-Properties
and-ReverseCheck
, and you have an array in member,
that return a wrong value, because the properties are set in recursive calls of
-ReverseCheck
to test the value of array. - When you use
-ReverseCheck
and, in the functionTest-DscCompareState
/Compare-DscParameterState
are recursively called (like to test or compare value of array),-ReverseCheck
value is removed from$PSBoundParameters
. And the ReverseCheck isn't done.
- When you use
v0.11.0-preview0002
[v0.11.0-preview0002]
Changed
- DscResource.Common
- Update pipeline files to the latest in Sampler.
- Fix missing tasks module.
- Update unit tests to import and remove the module being tested.
- Update pipeline files to the latest in Sampler.
Fixed
- Correction to
Compare-DscParameterState
returning false positive when parameter
with an empty hashtable or CimInstance property is passed inDesriedValues
- fixes
issue #65. - Correction somes problems in
Compare-DscParameterState
- see issue #70 :- When you use
-ReverseCheck
, this value is used in recursive call of
Test-DscParameterState
andCompare-DscParameterState
, and that called
another time the function. - When you use
-Properties
and-ReverseCheck
, and you have an array in member,
that return a wrong value, because the properties are set in recursive calls of
-ReverseCheck
to test the value of array. - When you use
-ReverseCheck
and, in the functionTest-DscCompareState
/Compare-DscParameterState
are recursively called (like to test or compare value of array),-ReverseCheck
value is removed from$PSBoundParameters
. And the ReverseCheck isn't done.
- When you use