spjeff / sppatchify

SharePoint Patchify - centralized tool to apply CU patch to entire farm from one console
MIT License
1 stars 0 forks source link

Change code #1

Closed paoIpao closed 8 years ago

paoIpao commented 8 years ago

Maybe can be usefull using Upgrade-SPContentDatabase before configuration wizard intead unmount and then mount contentdb.

rolandon commented 8 years ago

@spjeff thanks for the responds advising to comment out lines 1036 and 1044 to bypass taking the DB offline. However like @paololec just suggested would be a better option for me. I tried the script it works perfect, however the DB did not get upgraded. Can you provide a updated script to upgrade the DB verus taken them offline? Thanks.

spjeff commented 8 years ago

Thanks guys. Optional cmd switch parameter sounds good here.

"-o" will now keep databases online and bypass the Dismount/Mount steps.

Committed change to PS1 and updated release download ZIP too. =)

https://github.com/spjeff/sppatchify/commit/a167cea3f69cef4650f4eda82a679cca1e461abe#diff-5918760c8d2458204dcbb74d9364e7d7

rolandon commented 8 years ago

Thanks @spjeff