Skip to content

Releases: dsccommunity/DscResource.Common

v0.13.1-preview0001

18 Dec 10:44
161abe2
Compare
Choose a tag to compare
v0.13.1-preview0001 Pre-release
Pre-release

[v0.13.1-preview0001]

Changed

  • DscResource.Common
    • Now builds the module into a separate folder output/builtModule.

Fixed

  • Test-IsNumericType
    • Now handles arrays correctly.

v0.13.0

17 Dec 12:48
5e1d194
Compare
Choose a tag to compare

[v0.13.0]

Added

  • Added public function Test-IsNumericType that returns whether the specified
    object is of a numeric type - Issue #87

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.

v0.13.0-preview0002

17 Dec 12:39
5e1d194
Compare
Choose a tag to compare
v0.13.0-preview0002 Pre-release
Pre-release

[v0.13.0-preview0002]

Added

  • Added public function Test-IsNumericType that returns whether the specified
    object is of a numeric type - Issue #87

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.

v0.13.0-preview0001

11 Dec 09:05
05e5294
Compare
Choose a tag to compare
v0.13.0-preview0001 Pre-release
Pre-release

[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.

v0.12.0

10 Dec 10:05
a26f4e4
Compare
Choose a tag to compare

[v0.12.0]

Added

  • Added public function Assert-ElevatedUser that asserts the user has elevated
    the PowerShell session. issue #82

v0.12.0-preview0001

10 Dec 09:52
a26f4e4
Compare
Choose a tag to compare
v0.12.0-preview0001 Pre-release
Pre-release

[v0.12.0-preview0001]

Added

  • Added public function Assert-ElevatedUser that asserts the user has elevated
    the PowerShell session. issue #82

v0.11.1

18 Aug 14:21
1228815
Compare
Choose a tag to compare

[v0.11.1]

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.

v0.11.1-preview0001

18 Aug 14:12
1228815
Compare
Choose a tag to compare
v0.11.1-preview0001 Pre-release
Pre-release

[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.

v0.11.0

01 Aug 07:55
fbd65c3
Compare
Choose a tag to compare

[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.

Fixed

  • Correction to Compare-DscParameterState returning false positive when parameter
    with an empty hashtable or CimInstance property is passed in DesriedValues - 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 and Compare-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 function Test-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.

v0.11.0-preview0002

01 Aug 07:14
fbd65c3
Compare
Choose a tag to compare
v0.11.0-preview0002 Pre-release
Pre-release

[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.

Fixed

  • Correction to Compare-DscParameterState returning false positive when parameter
    with an empty hashtable or CimInstance property is passed in DesriedValues - 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 and Compare-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 function Test-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.