Releases: dsccommunity/DscResource.Common
Releases · dsccommunity/DscResource.Common
v0.16.1-preview0002
[v0.16.1-preview0002]
Changed
- Updated the pipelines files for resolving dependencies.
Get-LocalizedData
- Refactored to simplify execution and debugging. The command previously
used a steppable pipeline (proxiesImport-LocalizedData
), that was
removed since it was not possible to use the command in a pipeline.
It just made it more complex and harder to debug. There are more
debug messages added to hopefully simplify solving some hard to find
edge cases bugs.
- Refactored to simplify execution and debugging. The command previously
Fixed
Assert-BoundParameter
- Fixed example in documentation that were referencing an invalid command name.
Get-LocalizedData
- One debug message was wrongly using a format operator (issue #111.
v0.16.1-preview0001
[v0.16.1-preview0001]
Changed
- Updated the pipelines files for resolving dependencies.
Get-LocalizedData
- Refactored to simplify execution and debugging. The command previously
used a steppable pipeline (proxiesImport-LocalizedData
), that was
removed since it was not possible to use the command in a pipeline.
It just made it more complex and harder to debug. There are more
debug messages added to hopefully simplify solving some hard to find
edge cases bugs.
- Refactored to simplify execution and debugging. The command previously
Fixed
Assert-BoundParameter
- Fixed example in documentation that were referencing an invalid command name.
v0.16.0
[v0.16.0]
Added
- New public commands.
Get-EnvironmentVariable
- Get a specific environment variable from a
specific environment variable target.Get-PSModulePath
- Get the the PSModulePath from one or more environment
variable targets - Issue #103
v0.16.0-preview0001
[v0.16.0-preview0001]
Added
- New public commands.
Get-EnvironmentVariable
- Get a specific environment variable from a
specific environment variable target.Get-PSModulePath
- Get the the PSModulePath from one or more environment
variable targets - Issue #103
v0.15.0
[v0.15.0]
Added
- Added public function
Find-Certificate
that returns one or more
certificates using certificate selector parameters - Issue #100- Related to CertificateDsc Issue #272.
v0.15.0-preview0001
[v0.15.0-preview0001]
Added
- Added public function
Find-Certificate
that returns one or more
certificates using certificate selector parameters - Issue #100- Related to CertificateDsc Issue #272.
v0.14.0
[v0.14.0]
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- Related to SqlServerDsc Issue #1796.
- Added public function
Test-AccountRequirePassword
that returns true or
false whether an account need a password to be passed - Issue #93- Related to SqlServerDsc Issue #1794.
- Added public command
Get-DscProperty
that returns a hashtable of available
properties for a class-based resource. See comment-based help for more
information. - Added public command
Test-DscProperty
that returns a true or false
whether a property exist in a class-based resource. See comment-based help
for more information. - Added private function
Test-DscPropertyIsAssigned
that returns a true
or false whether a property in a class-based resource has a non-null value.
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.
- Now has a new parameter set that calls
Fixed
- Fixed unit tests for
Assert-ElevatedUser
andTest-IsNumericType
so
the public function is tested correctly using the exported function. - Fixed unit tests to easier run test both from command line and inside
Visual Studio Code.
v0.14.0-preview0002
[v0.14.0-preview0002]
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- Related to SqlServerDsc Issue #1796.
- Added public function
Test-AccountRequirePassword
that returns true or
false whether an account need a password to be passed - Issue #93- Related to SqlServerDsc Issue #1794.
- Added public command
Get-DscProperty
that returns a hashtable of available
properties for a class-based resource. See comment-based help for more
information. - Added public command
Test-DscProperty
that returns a true or false
whether a property exist in a class-based resource. See comment-based help
for more information. - Added private function
Test-DscPropertyIsAssigned
that returns a true
or false whether a property in a class-based resource has a non-null value.
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.
- Now has a new parameter set that calls
Fixed
- Fixed unit tests for
Assert-ElevatedUser
andTest-IsNumericType
so
the public function is tested correctly using the exported function. - Fixed unit tests to easier run test both from command line and inside
Visual Studio Code.
v0.14.0-preview0001
[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- Related to SqlServerDsc Issue #1796.
- Added public function
Test-AccountRequirePassword
that returns true or
false whether an account need a password to be passed - Issue #93- Related to SqlServerDsc Issue #1794.
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.
- Now has a new parameter set that calls
Fixed
- Fixed unit tests for
Assert-ElevatedUser
andTest-IsNumericType
so
the public function is tested correctly using the exported function.