Releases: dsccommunity/DscResource.Common
Releases · dsccommunity/DscResource.Common
v0.17.1-preview0002
[v0.17.1-preview0002]
Added
Get-PSModulePath
- Can now return the individual module path for different scopes when
using the parameter-Scope
. If no parameter is specified the command
return the path for the scope CurrentUser.
- Can now return the individual module path for different scopes when
Test-ModuleExist
- Checks if a PowerShell module with a specified name is available in a
PSModulePath.
- Checks if a PowerShell module with a specified name is available in a
Fixed
Get-PSModulePath
- Was using the wrong path separator on Linux and macOS.
v0.17.1-preview0001
[v0.17.1-preview0001]
Added
Get-PSModulePath
- Can now return the individual module path for different scopes when
using the parameter-Scope
. If no parameter is specified the command
return the path for the scope CurrentUser.
- Can now return the individual module path for different scopes when
Fixed
Get-PSModulePath
- Was using the wrong path separator on Linux and macOS.
v0.17.0
[v0.17.0]
Added
- Tasks for automating documentation for the GitHub repository wiki (issue #110).
Set-PSModulePath
- A new parameters set takes two parameters
FromTarget
andToTarget
that can copy from omne target to the other (issue #102). - A new parameter
PassThru
that, if specified, returns the path that
was set.
- A new parameters set takes two parameters
New-Exception
- New command that creates and returns an
[System.Exception]
.
- New command that creates and returns an
New-ErrorRecord
- New command that creates and returns an
[System.Management.Automation.ErrorRecord]
(issue #99).
- New command that creates and returns an
New-ArgumentException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
New-InvalidOperationException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw) (issue #98).
- Now takes a parameter
New-InvalidResultException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
New-NotImplementedException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
Compare-DscParameterState
- Add support for the type
[System.Collections.Specialized.OrderedDictionary]
passed to parametersCurrentValues
andDesiredValues
(issue #57). - Add support for
DesiredValues
(andCurrentValues
) to pass a value,
e.g a hashtable, that includes a property with the type[System.Collections.Specialized.OrderedDictionary]
or an array of[System.Collections.Specialized.OrderedDictionary]
(issue #57).
- Add support for the type
Changed
- Updated the pipelines files for resolving dependencies.
- Command documentation was moved from README to GitHub repository wiki.
- Change the word cmdlet to command throughout in the documentation, code
and localization strings. - A meta task now removes the built module from the session if it is imported.
- Wiki source file HOME was modified to not link to README for help after
command documentation now is in the wiki. 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
New-ArgumentException
- Now has a command alias
New-InvalidArgumentException
and the command
was renamed to match the exception name. - Now uses the new command
New-ErrorRecord
.
- Now has a command alias
New-InvalidDataException
- The parameter
Message
has a parameter aliasErrorMessage
to make
the command have the same parameter names as the otherNew-*Exception
commands. - Now uses the new command
New-ErrorRecord
.
- The parameter
New-InvalidOperationException
- Now uses the new command
New-ErrorRecord
.
- Now uses the new command
New-InvalidResultException
- Now uses the new command
New-ErrorRecord
.
- Now uses the new command
New-NotImplementedException
- Now uses the new command
New-ErrorRecord
.
- Now uses the new command
New-ObjectNotFoundException
- Now uses the new command
New-ErrorRecord
.
- Now uses the new command
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.
New-ObjectNotFoundException
- Updated typo in comment-based help.
v0.17.0-preview0006
[v0.17.0-preview0006]
Added
- Tasks for automating documentation for the GitHub repository wiki (issue #110).
Set-PSModulePath
- A new parameters set takes two parameters
FromTarget
andToTarget
that can copy from omne target to the other (issue #102). - A new parameter
PassThru
that, if specified, returns the path that
was set.
- A new parameters set takes two parameters
New-Exception
- New command that creates and returns an
[System.Exception]
.
- New command that creates and returns an
New-ErrorRecord
- New command that creates and returns an
[System.Management.Automation.ErrorRecord]
(issue #99).
- New command that creates and returns an
New-ArgumentException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
New-InvalidOperationException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw) (issue #98).
- Now takes a parameter
New-InvalidResultException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
New-NotImplementedException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
Compare-DscParameterState
- Add support for the type
[System.Collections.Specialized.OrderedDictionary]
passed to parametersCurrentValues
andDesiredValues
(issue #57). - Add support for
DesiredValues
(andCurrentValues
) to pass a value,
e.g a hashtable, that includes a property with the type[System.Collections.Specialized.OrderedDictionary]
or an array of[System.Collections.Specialized.OrderedDictionary]
(issue #57).
- Add support for the type
Changed
- Updated the pipelines files for resolving dependencies.
- Command documentation was moved from README to GitHub repository wiki.
- Change the word cmdlet to command throughout in the documentation, code
and localization strings. - A meta task now removes the built module from the session if it is imported.
- Wiki source file HOME was modified to not link to README for help after
command documentation now is in the wiki. 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
New-ArgumentException
- Now has a command alias
New-InvalidArgumentException
and the command
was renamed to match the exception name. - Now uses the new command
New-ErrorRecord
.
- Now has a command alias
New-InvalidDataException
- The parameter
Message
has a parameter aliasErrorMessage
to make
the command have the same parameter names as the otherNew-*Exception
commands. - Now uses the new command
New-ErrorRecord
.
- The parameter
New-InvalidOperationException
- Now uses the new command
New-ErrorRecord
.
- Now uses the new command
New-InvalidResultException
- Now uses the new command
New-ErrorRecord
.
- Now uses the new command
New-NotImplementedException
- Now uses the new command
New-ErrorRecord
.
- Now uses the new command
New-ObjectNotFoundException
- Now uses the new command
New-ErrorRecord
.
- Now uses the new command
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.
New-ObjectNotFoundException
- Updated typo in comment-based help.
v0.17.0-preview0005
[v0.17.0-preview0005]
Added
- Tasks for automating documentation for the GitHub repository wiki (issue #110).
Set-PSModulePath
- A new parameters set takes two parameters
FromTarget
andToTarget
that can copy from omne target to the other (issue #102). - A new parameter
PassThru
that, if specified, returns the path that
was set.
- A new parameters set takes two parameters
New-Exception
- New command that creates and returns an
[System.Exception]
.
- New command that creates and returns an
New-ArgumentException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
New-InvalidOperationException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw) (issue #98).
- Now takes a parameter
New-InvalidResultException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
New-NotImplementedException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
Compare-DscParameterState
- Add support for the type
[System.Collections.Specialized.OrderedDictionary]
passed to parametersCurrentValues
andDesiredValues
(issue #57). - Add support for
DesiredValues
(andCurrentValues
) to pass a value,
e.g a hashtable, that includes a property with the type[System.Collections.Specialized.OrderedDictionary]
or an array of[System.Collections.Specialized.OrderedDictionary]
(issue #57).
- Add support for the type
Changed
- Updated the pipelines files for resolving dependencies.
- Command documentation was moved from README to GitHub repository wiki.
- Change the word cmdlet to command throughout in the documentation, code
and localization strings. - A meta task now removes the built module from the session if it is imported.
- Wiki source file HOME was modified to not link to README for help after
command documentation now is in the wiki. 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
New-ArgumentException
- Now has a command alias
New-InvalidArgumentException
and the command
was renamed to match the exception name.
- Now has a command alias
New-InvalidDataException
- The parameter
Message
has a parameter aliasErrorMessage
to make
the command have the same parameter names as the otherNew-*Exception
commands.
- The parameter
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.
New-ObjectNotFoundException
- Updated typo in comment-based help.
v0.17.0-preview0004
[v0.17.0-preview0004]
Added
- Tasks for automating documentation for the GitHub repository wiki (issue #110).
Set-PSModulePath
- A new parameters set takes two parameters
FromTarget
andToTarget
that can copy from omne target to the other (issue #102). - A new parameter
PassThru
that, if specified, returns the path that
was set.
- A new parameters set takes two parameters
New-Exception
- New command that creates and returns an
[System.Exception]
.
- New command that creates and returns an
New-ArgumentException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
New-InvalidOperationException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw) (issue #98).
- Now takes a parameter
New-InvalidResultException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
New-NotImplementedException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
Compare-DscParameterState
- Add support for the type
[System.Collections.Specialized.OrderedDictionary]
passed to parametersCurrentValues
andDesiredValues
(issue #57).
- Add support for the type
Changed
- Updated the pipelines files for resolving dependencies.
- Command documentation was moved from README to GitHub repository wiki.
- Change the word cmdlet to command throughout in the documentation, code
and localization strings. - A meta task now removes the built module from the session if it is imported.
- Wiki source file HOME was modified to not link to README for help after
command documentation now is in the wiki. 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
New-ArgumentException
- Now has a command alias
New-InvalidArgumentException
and the command
was renamed to match the exception name.
- Now has a command alias
New-InvalidDataException
- The parameter
Message
has a parameter aliasErrorMessage
to make
the command have the same parameter names as the otherNew-*Exception
commands.
- The parameter
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.
New-ObjectNotFoundException
- Updated typo in comment-based help.
v0.17.0-preview0003
[v0.17.0-preview0003]
Added
- Tasks for automating documentation for the GitHub repository wiki (issue #110).
Set-PSModulePath
- A new parameters set takes two parameters
FromTarget
andToTarget
that can copy from omne target to the other (issue #102). - A new parameter
PassThru
that, if specified, returns the path that
was set.
- A new parameters set takes two parameters
New-Exception
- New command that creates and returns an
[System.Exception]
.
- New command that creates and returns an
New-ArgumentException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
New-InvalidOperationException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw) (issue #98).
- Now takes a parameter
New-InvalidResultException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
New-NotImplementedException
- Now takes a parameter
PassThru
that returns the error record that was
created (and does not throw).
- Now takes a parameter
Changed
- Updated the pipelines files for resolving dependencies.
- Command documentation was moved from README to GitHub repository wiki.
- Change the word cmdlet to command throughout in the documentation, code
and localization strings. - A meta task now removes the built module from the session if it is imported.
- Wiki source file HOME was modified to not link to README for help after
command documentation now is in the wiki. 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
New-ArgumentException
- Now has a command alias
New-InvalidArgumentException
and the command
was renamed to match the exception name.
- Now has a command alias
New-InvalidDataException
- The parameter
Message
has a parameter aliasErrorMessage
to make
the command have the same parameter names as the otherNew-*Exception
commands.
- The parameter
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.
New-ObjectNotFoundException
- Updated typo in comment-based help.
v0.17.0-preview0002
[v0.17.0-preview0002]
Added
- Tasks for automating documentation for the GitHub repository wiki (issue #110).
Set-PSModulePath
- A new parameters set takes two parameters
FromTarget
andToTarget
that can copy from omne target to the other (issue #102). - A new parameter
PassThru
that, if specified, returns the path that
was set.
- A new parameters set takes two parameters
Changed
- Updated the pipelines files for resolving dependencies.
- Command documentation was moved from README to GitHub repository wiki.
- Change the word cmdlet to command throughout in the documentation, code
and localization strings. - A meta task now removes the built module from the session if it is imported.
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.17.0-preview0001
[v0.17.0-preview0001]
Added
- Tasks for automating documentation for the GitHub repository wiki (issue #110).
Changed
- Updated the pipelines files for resolving dependencies.
- Command documentation was moved from README to GitHub repository wiki.
- Change the word cmdlet to command throughout in the documentation, code
and localization strings. 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-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.