Skip to content
GitHub Action edited this page Nov 20, 2024 · 1 revision

Usage

Parameters

Parameter Description
-ConfigFile Specifies the path to the configuration file.
-Sequence Specifies the Sequence for parallel upgrade Content DB.
-Install Add the SPSUpdate script in task scheduler
-InstallAccount Specifies the service account who runs the scheduled task
-Uninstall Remove the SPSUpdate script from task scheduler

Basic Usage Example

.\SPSUpdate.ps1 -ConfigFile 'contoso-PROD.json'

Sequence Example

.\SPSUpdate.ps1 -ConfigFile 'contoso-PROD.json' -Sequence 1

Installation Usage Example

.\SPSUpdate.ps1 -ConfigFile 'contoso-PROD.json' -Install -InstallAccount (Get-Credential)

Uninstallation Usage Example

.\SPSUpdate.ps1 -ConfigFile 'contoso-PROD.json' -Uninstall
Clone this wiki locally