CU Updates, Big Farm, Lots of DB’s, Mounting Databases
posted in: Cu Patching, PowerShell, SharePoint Administration
0
Let’s say you have this ginormous farm with hundreds of databases and you want to update the farm to a new CU. First thing you can do is get a list of your content databases using this powershell
1 2 3 4 5 6 7 8 9 |
Get-SPContentDatabase | ft DisplayName | out-file c:\PathToFile.txt ## You may also want to know the web application that they're attached Get-SPContentDatabase | ft DisplayName, webApplication | out-file c:\PathToSomeOtherFile.txt ## This above powershell will give you the web application name, if you want the url run something like this Get-SPWEbApplication | ft URL |
Once … Read More