Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junecastillote/Get-WebUpStatus
Use Get-WebUpStatus.ps1 to programmatically check the availability status of Sharepoint Sites or any WebSites
https://github.com/junecastillote/Get-WebUpStatus
Last synced: 5 days ago
JSON representation
Use Get-WebUpStatus.ps1 to programmatically check the availability status of Sharepoint Sites or any WebSites
- Host: GitHub
- URL: https://github.com/junecastillote/Get-WebUpStatus
- Owner: junecastillote
- License: gpl-3.0
- Created: 2015-11-01T10:51:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-08T18:46:10.000Z (over 5 years ago)
- Last Synced: 2024-08-02T17:37:22.158Z (3 months ago)
- Language: PowerShell
- Homepage: https://www.lazyexchangeadmin.com/2018/08/checking-website-up-status-using.html
- Size: 30.3 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Overview
This script can be used to query a list of sites and produce an HTML report of their status. I created this script in order to get a report of SharePoint sites that my team manage without having to check the site one by one to see if they are up or not.
Download
https://github.com/junecastillote/Get-WebUpStatus
How to use
Modify the configuration file
enableDebug (1 = ON, blank = OFF)
- Enable or disable the transcript logging
sendEmail (1 = ON, blank = OFF)
- Enable of disable sending of the report via email
alertsOnly (1 = ON, blank = OFF)
- Indicates whether the report will only be sent if there are errors
- mailFrom
- mail sender address
- mailTo
- mail recipient addresses. multiple addresses can be separated by comma
- mailServerName
- IP address, hostname or FQDN of the smtp relay server
- mailServerPort
- SMTP server port to use. Normally this does not need changing, unless your SMTP server is listening on a different port.
- sitesListFile
- this indicates the location of the text file containing the list of sites to query
Run the script
Syntax: .\Get-WebUpStatus.ps1 -configFile
Output
The HTML file report will be created inside the same folder where the script is located
And if the sendEmail parameter is turned on, the same HTML content will be sent via email
Use as Scheduled Task
If you plan to use the script with Task Scheduler, here's a sample reference.
Program/script:
powershell
Arguments:
-command C:\Get-WebUpStatus\Get-WebUpStatus.ps1 -configFile C:\Get-WebUpStatus\config.xml
End of Post
Please report issues in the Github repository.