-
Notifications
You must be signed in to change notification settings - Fork 0
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"
}
}
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.
StoredCredential
is refered to the target of your credential that you used during the installation processus.
Use SetupFullPath
, SetupFileName
and ShutdownServices
parameters to configure your binaries settings in your environment
The UpgradeContentDatabase
parameter can be used to run upgrade-SPContentDatabase in parallel.
The authorized values are : true
, and false
.
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
For the next steps, go to the Usage page.