Skip to content
Jean-Cyril Drouhin edited this page Oct 14, 2024 · 9 revisions

Usage

Parameters

Parameter Description
-ConfigFile Specifies the path to the configuration file.
-EnableSmtp Sends the results via email using SMTP.
-ExclusionRules Excludes certain checks from the weather report. Options: 'None', 'APIHttpStatus', 'EvtViewerStatus', 'IISW3WPStatus', 'HealthStatus', 'WSPStatus', 'FailedTimerJob'.

Basic Usage Example

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

Clone this wiki locally