SharePoint Online: Monitor Site Collection Storage Usage with PowerShell

Requirement: Monitor SharePoint Online storage metrics and Send E-mail on current usage. SharePoint Online: Storage Usage Report using PowerShell By default, SharePoint Online storage management is set to “Automatic” and all storage allocations are automatically managed from the central pool of storage. However, In your environment, if the storage management option is…

Read more

Monitor SharePoint Web Sites Availability and Send Alert Email using PowerShell

Requirement: Script to monitor SharePoint web sites and trigger an Alert Email when something goes wrong! PowerShell script to Monitor SharePoint Sites: Here is the alert Email in action: Schedule this script in Windows task scheduler to run for every 10 minutes. Update: What if the site loaded with an error? E.g….

Read more

Monitor SharePoint Services (Such as Timer Service) – Send Alert Email When They Goes Down!

In continuation to my post: Monitor SharePoint App Pools using PowerShell Script,  If certain Services on SharePoint server goes down, that could cause outages or service interruptions to your SharePoint environment! Although monitoring solutions such as SCOM can monitor services, they can’t start the service automatically – when stopped. So, let’s address…

Read more

Check if Service Application is Running in SharePoint using PowerShell

Couple of times, I had to get the service application’s status prior performing activities such as: Stop and Start the service, Monitoring service application’s availability, etc. Here is how we can check if the service application is running / created using PowerShell. PowerShell script to check service application’s status: This script gives…

Read more

Application Pool Monitoring for SharePoint using PowerShell Script

If SharePoint Application Pools are stopped that would cause “Service Unavailable” outages to your SharePoint environment! While SCOM can monitor the SharePoint IIS web application’s application pool status, it makes it a bit noisier with alerts and doesn’t start the application pool automatically – when stopped. So, let’s address this issue with…

Read more

Drive Space Monitoring using PowerShell Script

In SharePoint servers monitoring disk space is a common administrator task. Because, SharePoint servers may run out of disk space from SharePoint, IIS Logs, SQL Server transaction logs, or even from SharePoint content (If you don’t have Quotas enabled!) There are a lot of first-party, third-party utilities available, such as SCOM to…

Read more