-
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",
"Domain": "contoso.com",
"SMTPToAddress": ["admin-farm@contoso.com", "admin-setup@contoso.com"],
"SMTPFromAddress": "noreply@contoso.com",
"SMTPServer": "smtp.contoso.com",
"StoredCredential": "PROD-ADM",
"ExclusionRules": [
"SPSiteHttpStatus",
"EvtViewerStatus",
"IISW3WPStatus",
"WSPStatus"
],
"Farms": [
{
"Name": "SEARCH",
"Server": "srvcontososearch"
},
{
"Name": "SERVICES",
"Server": "srvcontososervices"
},
{
"Name": "CONTENT",
"Server": "srvcontosocontent"
}
]
}ConfigurationName is used to populate the content of Environment PowerShell Variable.
ApplicationName is used to populate the content of Application PowerShell Variable.
Use SMTPToAddress, SMTPFromAddress and SMTPServer parameters to configure your SMTP settings in your environment
StoredCredential is refered to the target of your credential that you used during the installation processus.
The ExclusionRules parameter can be used to exclude some check during the script execution. The default values are SPSiteHttpStatus, EvtViewerStatus, IISW3WPStatus and WSPStatus.
The authorized values are : None, APIHttpStatus, SPSiteHttpStatus, EvtViewerStatus, IISW3WPStatus, HealthStatus, WSPStatus and FailedTimerJob
In the context of trusted farm you can check the health of each farm.
Important
You need to use the same service account to use the farms parameter
For the next steps, go to the Usage page.
Navigation
Project