-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
- PowerShell 5.1 or later (no DSC module required)
- CredSSP configured (used for remoting to the other farm servers)
- Administrative privileges on each SharePoint Server
- A service account (
InstallAccount) whose credential is stored inConfig\secrets.psd1 - SharePoint update binaries copied to a local or accessible path (if using
ProductUpdate) - (Optional, for the live dashboard) a UNC share for the status store with Modify rights for the InstallAccount — see Configuration
You can manually configure CredSSP through a few PowerShell cmdlets (and potentially group policy to configure the allowed delegate computers). Basic guidance is available in the Microsoft documentation.
If you prefer automation instead of manual setup, configure CredSSP directly with PowerShell on the server and client. Example:
Enable-WSManCredSSP -Role Server -Force
Enable-WSManCredSSP -Role Client -DelegateComputer '*.contoso.com' -ForceIn the above example the delegate computer value can be a wildcard such as *.contoso.com, or one or more explicit SharePoint servers.
-
Download the latest release and unzip to a directory on each SharePoint Server. The archive extracts straight to
SPSUpdate.ps1,Config\andModules\(nosrc\wrapper). - Copy
Config\CONTOSO-PROD.example.psd1to a real config (for exampleCONTOSO-PROD-CONTENT.psd1) and edit the values for your farm. See Configuration. - Register the scheduled tasks by running the following command as the service account that will run them:
.\SPSUpdate.ps1 -ConfigFile 'CONTOSO-PROD-CONTENT.psd1' -Action Install -InstallAccount (Get-Credential)- Install the cumulative update binaries on each server (or install them manually):
.\SPSUpdate.ps1 -ConfigFile 'CONTOSO-PROD-CONTENT.psd1' -Action ProductUpdateProductUpdate runs the SharePoint installer directly, locally, and does not require the InstallAccount parameter.
Important
Run -Action Install as the same account you pass to -InstallAccount. The credential is stored as a DPAPI-encrypted SecureString in Config\secrets.psd1, which can only be decrypted by that account on that machine.
SPSUpdate no longer depends on the Windows Credential Manager module. The InstallAccount
credential is encrypted with ConvertFrom-SecureString (DPAPI) and stored under the
CredentialKey entry of Config\secrets.psd1. -Action Install writes it for you;
-Action Uninstall removes it. See Configuration for the file format.
For the next steps, go to the Configuration page.
A full list of changes in each version can be found in the change log.
Navigation
Project