Skip to content

v0.14.0-preview0001

Pre-release
Pre-release
Compare
Choose a tag to compare
@dscbot dscbot released this 30 Dec 10:37
052cfde

[v0.14.0-preview0001]

Added

  • Added private function Assert-RequiredCommandParameter that throws an
    exception if a specified parameter is not assigned a value, and optionally
    throws only if a specific parameter is passed. - Issue #92
  • Added public function Test-AccountRequirePassword that returns true or
    false whether an account need a password to be passed - Issue #93

Changed

  • DscResource.Common
    • Updated Visual Studio Code project settings to configure testing for Pester 5.
  • Assert-BoundParameter
    • Now has a new parameter set that calls Assert-RequiredCommandParameter
      which will throw an exception if a specified parameter is not assigned
      a value, and optionally throws only if a specific parameter is passed.

Fixed

  • Fixed unit tests for Assert-ElevatedUser and Test-IsNumericType so
    the public function is tested correctly using the exported function.