Bong88
You are not logged in.
you’ve undoubtedly come across Todd Klindt’s blog post with ongoing table of build numbers and corresponding CU names: http://www.toddklindt.com/sp2013builds.
Knowing the current patch version of your farm is pretty straight forward.
and grab the number at the top of the page.
Cross reference this number with the table in Todd’s blog post and you have the CU version installed in your farm.
I wanted to go a step further and write a PowerShell script that pulls the build number and looks up the details from Todd’s blog post automagically.
Here it is: [CmdletBinding()]Param(); $global:srcWebPage = "http://www.toddklindt.com/sp2013builds"; # Thanks Todd.
if ((Get-PSSnapin -Name "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) { Add-PSSnapin "Microsoft.SharePoint.PowerShell"; } try { $farm = Get-SPFarm; $buildVersion = $farm.BuildVersion; $buildVersionString = $buildVersion.ToString(); $site = Invoke-WebRequest -UseBasicParsing -Uri $global:srcWebPage; $pattern = ".+(" + $buildVersionString.Replace(".", ".") + ").*\s*(.+)\s*(.+)"; $pattern += 's*.*(.+)\'; $pattern += 's*.*(.+)\'; Write-Verbose $pattern; $m = [Regex]::Match($site.RawContent, $pattern, [System.Text.RegularExpressions.RegexOptions]::Multiline); if (!$m.Success) { throw "Could not find build number $buildVersionString in $global:srcWebPage"; } Write-Host -ForegroundColor white -NoNewline "Current Build Number: "; Write-Host -ForegroundColor yellow $buildVersionString; Write-Host -ForegroundColor white -NoNewline "Current Patch/CU: "; Write-Host -ForegroundColor yellow $m.Groups[2].Value; Write-Host -ForegroundColor white -NoNewline "KB of Current Patch/CU: "; Write-Host -ForegroundColor yellow $m.Groups[5].Value; Write-Host -ForegroundColor white -NoNewline "Download of Current Patch/CU: "; Write-Host -ForegroundColor yellow $m.Groups[6].Value; Write-Host $index = $m.Index + $m.Length; $pattern = ".+([0-9]+.[0-9]+.[0-9]+.[0-9]+).*\s*(.+)\s*(.+)"; $pattern += 's*.*(.+)\'; $pattern += 's*.*(.+)\'; $m = [Regex]::Match($site.RawContent.Substring($index), $pattern, [System.Text.RegularExpressions.RegexOptions]::Multiline); if ($m.Success) { Write-Host -ForegroundColor white -NoNewline "Next Build Number: "; Write-Host -ForegroundColor green $m.Groups[1].Value; Write-Host -Fore.
Offline