diff --git a/source/DSCResources/MSFT_xExchSendConnector/MSFT_xExchSendConnector.psm1 b/source/DSCResources/MSFT_xExchSendConnector/MSFT_xExchSendConnector.psm1 index 10d2f1f6..a2674bfe 100644 --- a/source/DSCResources/MSFT_xExchSendConnector/MSFT_xExchSendConnector.psm1 +++ b/source/DSCResources/MSFT_xExchSendConnector/MSFT_xExchSendConnector.psm1 @@ -40,7 +40,6 @@ function Get-TargetResource if ($null -ne $connector) { - $adPermissions = Get-ADExtendedPermissions -Identity $Name $returnValue = @{ diff --git a/source/Modules/xExchangeHelper/xExchangeHelper.psd1 b/source/Modules/xExchangeHelper/xExchangeHelper.psd1 index 8f1b9fb9..5129246f 100644 --- a/source/Modules/xExchangeHelper/xExchangeHelper.psd1 +++ b/source/Modules/xExchangeHelper/xExchangeHelper.psd1 @@ -122,7 +122,10 @@ 'Assert-ExchangeSetupArgumentsComplete', 'Get-StringFromHashtable', 'Get-DomainDNFromFQDN', - 'Set-DSCMachineStatus' + 'Set-DSCMachineStatus', + 'Test-ExtendedRightsPresent', + 'Test-ExtendedRights', + 'Get-ADExtendedPermissions' ) # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.