diff --git a/CHANGELOG.md b/CHANGELOG.md index 2be72383..56d28bf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ For older change log history see the [historic changelog](HISTORIC_CHANGELOG.md) $env:Temp and reused every time DSC check runs, instead of creating a new module every time. - Added AD Permissions parameter for xExchReceiveConnector. + - Small bug fix in xExchangeHelper module. ## [1.31.0] - 2020-01-27 diff --git a/source/Modules/xExchangeHelper/xExchangeHelper.psm1 b/source/Modules/xExchangeHelper/xExchangeHelper.psm1 index 3272755b..c8cf8722 100644 --- a/source/Modules/xExchangeHelper/xExchangeHelper.psm1 +++ b/source/Modules/xExchangeHelper/xExchangeHelper.psm1 @@ -23,7 +23,7 @@ function Get-ExistingRemoteExchangeSession } else # Session is in an unexpected state. Remove it so we can rebuild it { - Remove-RemoteExchangeSession + Remove-RemoteExchangeModule $session = $null } }