The codes uses the Local Build Version $farmBuild = [Microsoft.SharePoint.Administration.SPFarm]::Local.BuildVersion which seams to only reflects the Config DB Version.
But with the December CU the Config DB has an older Build Version than the rest of the components.
Maybe the Product Group is willing to create a reliable API, since parsing the Central Administration might be a bit annoying :)
SharePoint does not have a build version. Full Stop..
We used the following script to determine the current Buildversion for our automation process
Hello,
i just ran the January 2024 Version of SPFarmInfo and got a Cirtical Warning "SideBySideToken is not the current farm build".
EnabledSideBySide: True SideBySideToken: 16.0.16731.20462 FarmBuildToken: 16.0.16731.20452 SideBySideTokenMatchesFarmBuild: False
The codes uses the Local Build Version
$farmBuild = [Microsoft.SharePoint.Administration.SPFarm]::Local.BuildVersion
which seams to only reflects the Config DB Version. But with the December CU the Config DB has an older Build Version than the rest of the components.Maybe the Product Group is willing to create a reliable API, since parsing the Central Administration might be a bit annoying :) SharePoint does not have a build version. Full Stop.. We used the following script to determine the current Buildversion for our automation process
The Warning should come with a disclaimer for false poistives.