diff --git a/CHANGELOG.md b/CHANGELOG.md index a6f651f0..d744a790 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +- Added Comment Based Help for `New-NotImplementedException` common + function - fixes [Issue #411](https://github.com/PowerShell/NetworkingDsc/issues/411). + ## 7.3.0.0 - DnsClientGlobalSettings: diff --git a/Modules/NetworkingDsc.Common/NetworkingDsc.Common.psm1 b/Modules/NetworkingDsc.Common/NetworkingDsc.Common.psm1 index d3990d4c..e5ce7b3b 100644 --- a/Modules/NetworkingDsc.Common/NetworkingDsc.Common.psm1 +++ b/Modules/NetworkingDsc.Common/NetworkingDsc.Common.psm1 @@ -305,6 +305,16 @@ function New-InvalidResultException throw $errorRecordToThrow } +<# + .SYNOPSIS + Creates and throws a not implemented exception. + + .PARAMETER Message + The message explaining why this error is being thrown. + + .PARAMETER ErrorRecord + The error record containing the exception that is causing this terminating error. +#> function New-NotImplementedException { [CmdletBinding()]