Skip to content

Configuration

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

Configuration

To customize the script for your environment, you need to prepare a JSON configuration file. Below is a sample structure for the file:

{
  "$schema": "http://json-schema.org/schema#",
  "contentVersion": "1.0.0.0",
  "ConfigurationName": "PROD",
  "ApplicationName": "contoso",
  "FarmName": "CONTENT",
  "Domain": "contoso.com",
  "StoredCredential": "PROD-ADM",
  "Binaries": {
    "SetupFullPath": "\\\\srvfileshared.contoso.com\\cumulativeupdates",
    "SetupFileName": ["uber-subscription-kb5002651-fullfile-x64-glb.exe"],
    "ShutdownServices": true
  },
  "UpgradeContentDatabase": true,
  "SideBySideToken": {
    "Enable": true,
    "BuildVersion": "16.0.17928.20238"
  }
}

Configuration, Application and FarmName

ConfigurationName is used to populate the content of Environment PowerShell Variable. ApplicationName is used to populate the content of Application PowerShell Variable. FarmName is used to populate the content of FarmName PowerShell Variable.

Credential Manager

StoredCredential is refered to the target of your credential that you used during the installation processus.

Binaries settings

Use SetupFullPath, SetupFileName and ShutdownServices parameters to configure your binaries settings in your environment

UpgradeContentDatabase

The UpgradeContentDatabase parameter can be used to run upgrade-SPContentDatabase in parallel.

The authorized values are : true, and false.

SideBySideToken

Use Enable to enable sidebysidetoken feature. Use BuildVersion to set build version used in sidebysitetoken feature.

Zero downtime patching is a method of patching and upgrade developed in SharePoint in Microsoft 365. For more details see SharePoint Server zero downtime patching steps

Next Step

For the next steps, go to the Usage page.

Clone this wiki locally