You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that something may have changed from an OS (Server2019) perspective that isn't allowing the following command to succeed:
Export-PSSession -Session $Session -OutputModule $script:DSCExchangeModulePath
When attempting to use the config on a newly deployed exchange server an error regarding -OutModule would be displayed
Problem description
I found that something may have changed from an OS (Server2019) perspective that isn't allowing the following command to succeed:
Export-PSSession -Session $Session -OutputModule $script:DSCExchangeModulePath
When attempting to use the config on a newly deployed exchange server an error regarding -OutModule would be displayed
Verbose logs
DSC configuration
Suggested solution
#UPDATE xExchangeHelper.psm1#
Line 3
New-Item -Path $script:DSCExchangeModulePath -Type Directory -Force
Line 81
$exportedModule = Test-Path -Path $script:DSCExchangeModulePath$script:DSCExchangeModuleName.psm1
Line 224
Export-PSSession -Session $Session -OutputModule $script:DSCExchangeModulePath -Force
Operating system the target node is running
Exchange Server edition and version the target node is running
PowerShell version and build the target node is running
xExchange version
The text was updated successfully, but these errors were encountered: