From ba3ed8bf478ee763ef44e082f5dc939993bf65a6 Mon Sep 17 00:00:00 2001 From: Svilen Date: Fri, 8 May 2020 09:22:39 +0200 Subject: [PATCH] small bug fix --- CHANGELOG.md | 1 + source/Modules/xExchangeHelper/xExchangeHelper.psm1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 } }