dsccommunity / SharePointDsc

The SharePointDsc PowerShell module provides DSC resources that can be used to deploy and manage a SharePoint farm
MIT License
247 stars 107 forks source link

[SPProductUpdate] Resource does not support SPSE yet #1408

Closed ykuijs closed 1 year ago

ykuijs commented 2 years ago

Problem description

This resource is not yet updated to support Subscription Edition. On various places in the code, 2019 is referenced instead of SPSE:

https://github.com/dsccommunity/SharePointDsc/blob/a98dfeba4e715e86ab186eaf8b3e40058e82c27e/SharePointDsc/DSCResources/MSFT_SPProductUpdate/MSFT_SPProductUpdate.psm1#L737-L755

https://github.com/dsccommunity/SharePointDsc/blob/a98dfeba4e715e86ab186eaf8b3e40058e82c27e/SharePointDsc/DSCResources/MSFT_SPProductUpdate/MSFT_SPProductUpdate.psm1#L116-L130

This is causing the resource not to detect installed updates correctly and therefore trying to install already installed updates again and failing.

Verbose logs

Not available

DSC configuration

Not available

Suggested solution

Update the resource to support SPSE

SharePoint version and build

SPSE

Operating system the target node is running

Any supported OS

PowerShell version and build the target node is running

v5.1

SharePointDsc version

dev