Share via


Upgrade all Content DBs (after e.g. CU)

PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures

Get-SPDatabase |?{$_.NeedsUpgrade –eq $true}|Select Name
Get-SPContentDatabase |?{$_.NeedsUpgrade –eq $true}| Upgrade-SPContentDatabase