-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
GitHub Action edited this page Oct 16, 2024
·
9 revisions
| Parameter | Description |
|---|---|
-ConfigFile |
Specifies the path to the configuration file. |
-EnableSmtp |
Sends the results via email using SMTP. |
-Install |
Add the SPSWeather script in task scheduler |
-InstallAccount |
Specifies the service account who runs the scheduled task |
-Uninstall |
Remove the SPSWeather script from task scheduler |
.\SPSWeather.ps1 -ConfigFile 'contoso-PROD.json'.\SPSWeather.ps1 -ConfigFile 'contoso-PROD.json' -EnableSmtp.\SPSWeather.ps1 -ConfigFile 'contoso-PROD.json' -Install -InstallAccount (Get-Credential).\SPSWeather.ps1 -ConfigFile 'contoso-PROD.json' -UninstallNavigation
Project