dsccommunity/ExchangeDsc

xExchUpdate: New resource proposal - Upgrade from CU[X] to CU[Y]

Closed this issue · 5 comments

Description

Create a new resource called xExchUpdate. This resource would be used to update an existing Exchange 2013/2016/2019 installation from one cumulative update version to another (i.e. Exchange 2016 CU12 to Exchange 2016 CU14). This resource would automatically check if all prerequisites are present (i.e. .Net Framework 4.7.2 or 4.8, C++ Redist. 2012 and 2013, etc.). Once all prerequisites are present the update would be performed using the unattended install. Any reboots would be handled by this resource as well. All update files would be located on a remote share and pulled in as needed.

Proposed properties

Special considerations or limitations

Currently the xExchInstall resource doesn't check prerequisites, I will also be submitting a proposal to enhance that resource with a prerequisite check/install feature. This would allow a uniform experience for both new installs and updates.

Hi Dana,
Support to upgrade to a new CU using xExchInstall was added within the past year (or two maybe). Function 'Test-ShouldUpgradeExchange' in xExchangeHelper.psm1 should handle that. If that's not working for you we may need to debug what's going wrong. Can you send -Verbose output of your DSC script while trying to upgrade via xExchInstall?

Seems that xExchInstall should be update to support more functionality. If there is a need for an exclusive xExchUpdate then please elaborate why xExchInstall is not sufficient.

See issue #425 in regards of the prerequisites.

This can be closed considering that xExchInstall should be able to handle the upgrade. See also #320 and #190.

Unfortunately, upgrading does not work for reasons that are not primarily a DSC or DSC resource issue: #496

johlju commented

Closing as per previous comment.