OneDrive for Business: Block Syncing of Specific File Types

Requirement: Block syncing of specific file types in OneDrive for Business. How to Block File Types in OneDrive for Business? By default, Users can upload all types of files in their OneDrive for Business folder. However, for security and compliance reasons, we can restrict users from syncing specific file types in OneDrive…

Read more

Get All SharePoint Online Administrators in Office 365

Requirement: Get a list of All users with SharePoint Online Administrator Roles. How to Get All SharePoint Admins in Office 365? As a SharePoint Online administrator, you may need to get a list of all other SharePoint Online administrators in your Office 365 environment to have visibility into who has been assigned…

Read more

Office 365: Find All SharePoint Online Administrators using PowerShell

Requirement: Get All SharePoint Online Administrators of the Office 365 tenant. How to Check If a User is SharePoint Online Administrator in Office 365? If you’re a Microsoft 365 administrator, You may want to find all SharePoint Online Administrators in your organization at times. Perhaps you want to check if a specific…

Read more

Archive ULS & IIS Log Files in SharePoint using PowerShell

Requirement: Archive Log files of IIS and ULS Log.  Log files in SharePoint (both IIS Log and ULS Log) could grow and fill up the disk space based on your configurations and usage. There are many scripts available in various blogs and boards, and Here is my script to archive log files…

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: Let’s have PowerShell to monitor our SharePoint web sites and trigger an Email when they go down! Here is the alert Email in action: Schedule this script in Windows task…

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

How to Stop and Start All SharePoint 2013 Farm Services using PowerShell?

Prior to SharePoint patching, it’s a best practice to stop all SharePoint 2013 and its related services and then start once patching is completed. If you don’t do this, your service pack or patch installation will take longer than expected. So what are all the services to be stopped? SharePoint 2013 Search…

Read more

Clear Maintenance Mode to Unlock a Site Collection in SharePoint

Problem: Another fine morning, SharePoint 2013/2016 sites started displaying a message: “We apologize for any inconvenience, but we’ve made the site read-only while we’re making some improvements.”. Same time, I noticed a backup failure E-mail from the backup software! Root Cause:Since the Backup failure occurred, SharePoint placed the site in read-only mode….

Read more

SharePoint 2013 Maintenance Window Notifications

In continuation to my earlier post: Site Under Maintenance Page for SharePoint, while the solution serves the purpose perfectly by displaying a typical “Site under maintenance” page during occasions like SharePoint patching, upgrade, etc. wouldn’t it be nice to intimate end-users about the planned maintenance window in advance? Well, SharePoint 2013 brings…

Read more

How to Change SharePoint Web Application Port?

While extending existing SharePoint web application to change its port is one option, there is an another workaround to change port of SharePoint web applications (Applies to both SharePoint 2010 / SharePoint 2007). How to change SharePoint web application port number? We can change the port of a SharePoint web application, by…

Read more