Skip to content

Release 5.0.0 - drop SharePoint 2016/2019 support (SE-only) - #27

Merged
luigilink merged 3 commits into
mainfrom
release/5.0.0
Aug 28, 2026
Merged

Release 5.0.0 - drop SharePoint 2016/2019 support (SE-only)#27
luigilink merged 3 commits into
mainfrom
release/5.0.0

Conversation

@luigilink

Copy link
Copy Markdown
Owner

Summary

SPSUpdate 5.0.0 is a breaking change that drops support for SharePoint Server 2016 and 2019. The tool now targets SharePoint Server Subscription Edition (SE) only.

The deprecated Add-PSSnapin Microsoft.SharePoint.PowerShell path has been removed in favour of an idempotent Import-Module SharePointServer, and every version-detection branch (2013/2016/2019) has been removed from the config-wizard, product-update and helper functions.

Fixes #26

Changes

Refactor (SE-only)

  • src/SPSUpdate.ps1: load SharePoint via Import-Module SharePointServer (was Snapin/version detection).
  • Invoke-SPSCommand.ps1: remoting bootstrap now imports the SharePointServer module idempotently; removed the 2016/2019-vs-SE version branch.
  • Start-SPSConfigExe.ps1 / Start-SPSConfigExeRemote.ps1: removed the SP2013 (15) branch, hardcoded the 16.0 hive + 16\BIN, Upgrade-SPFarm is now unconditional.
  • Start-SPSProductUpdate.ps1: removed the OSearch15 branch (keeps OSearch16), simplified CU detection to SE.
  • Get-SPSLocalVersionInfo.ps1: removed the ProductVersion parameter; resolves "Subscription Edition" unconditionally.

Docs

  • README.md, wiki/Home.md, src/SPSUpdate_README.md: Subscription Edition only, with a note pointing 2016/2019 users (including migration scenarios) to the 4.2.0 release.
  • wiki/Usage.md: kept the 2019 -> SE migration context and the note that InitContentDB against a 2019 source farm needs 4.2.0.

Chore

  • SPSUpdate.Common.psd1: ModuleVersion -> 5.0.0.
  • CHANGELOG.md: new [5.0.0] section (Removed / Changed / Migration).
  • RELEASE-NOTES.md: 5.0.0 release body.
  • tests/SPSUpdate.Common.Tests.ps1: version guard bumped to 5.0.0.

Migration

Farms still on SharePoint 2016/2019 (including 2019 -> SE migration scenarios where InitContentDB runs against the 2019 source) must stay on SPSUpdate 4.2.0. Upgrade to 5.0.0 only once the farm is Subscription Edition.

Validation

  • PSScriptAnalyzer: 0 issues.
  • Pester: 164 passed / 0 failed / 1 skipped (DPAPI, Windows-only).
  • Real SE farm (16.0.19725.20280), 3 servers APP1/SCH1/WFE1:
    • Readiness pre-flight: 16 passed / 0 warnings / 0 failures.
    • InitContentDB (read-only): SharePointServer module loads, inventory + HTML report generated.
    • ProductUpdate (KB5002893): full campaign completed - 10 Done / 0 Failed (3x ProductUpdate + 4 content-db upgrade sequences + 3x Configuration Wizard), live dashboard stamped 5.0.0.

…r module only

SharePoint Server 2016 and 2019 reached end of support on 14 July 2026;
SPSUpdate now targets Subscription Edition only.

- SPSUpdate.ps1 and Invoke-SPSCommand load the SharePointServer module
  idempotently instead of adding the Microsoft.SharePoint.PowerShell PSSnapin
  (including inside the remoting HERE-STRING sent to each server).
- Start-SPSConfigExe / Start-SPSConfigExeRemote drop the SharePoint 2013
  (FileMajorPart 15, 15\BIN, 15.0 hive) branch and the version guard around
  Upgrade-SPFarm; they target the 16.0 hive and 16\BIN unconditionally.
- Start-SPSProductUpdate drops the OSearch15 branch (keeps OSearch16) and the
  2016/2019/SE cumulative-update detection; the CU is always Subscription Edition.
- Get-SPSLocalVersionInfo no longer takes a ProductVersion parameter and resolves
  the Subscription Edition product name only.

PSScriptAnalyzer clean; 164 Pester tests passing.

Refs #26
- README, wiki Home and the offline install guide now state SharePoint Server
  Subscription Edition as the only supported product, with a note that 2016/2019
  reached end of support on 14 July 2026 and users on those versions must use the
  previous major release (v4.2.0).
- Usage wiki: keep the 2019 -> Subscription Edition migration context and add a
  note that running InitContentDB on a 2019 source farm requires v4.2.0.
- Remove the '2016/2019 snap-in vs SE module' wording from the offline guide.

Refs #26
- SPSUpdate.Common manifest ModuleVersion -> 5.0.0.
- CHANGELOG: prepend the [5.0.0] section (Removed / Changed / Migration).
- RELEASE-NOTES: replace with the 5.0.0 notes only (GitHub Release body).
- Tests: bump the module version guard to 5.0.0.

Refs #26
@github-actions

Copy link
Copy Markdown

Pester Test Results

  1 files   19 suites   2s ⏱️
 72 tests  72 ✅ 0 💤 0 ❌
165 runs  165 ✅ 0 💤 0 ❌

Results for commit 9f0f3a4.

@luigilink
luigilink merged commit c2e031a into main Aug 28, 2026
3 checks passed
@luigilink
luigilink deleted the release/5.0.0 branch August 28, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop SharePoint 2016/2019 support (SE-only)

1 participant