OneDrive for Business: Create a Folder using PowerShell

Requirement: Create a folder in OneDrive for Business site. How to create a Folder in OneDrive for Business? OneDrive is a cloud-based storage service provided by Microsoft that allows individuals and teams to store, share and collaborate on files from anywhere. If you are using OneDrive for Business, you may want to…

Read more

Connect to SharePoint Online using PowerShell with MFA (Multi-factor Authentication)

Requirement: Connect to SharePoint Online from PowerShell using multi-factor authentication. PowerShell to Connect to SharePoint Online with MFA Multi-Factor Authentication or two-factor authentication in Office 365 environments is often enabled as part of security hardening. Instead of typical user IDs and passwords, it adds an extra layer with SMS or phone call…

Read more

SharePoint Online: Find All Unused Sites based on Last Modified Date

Requirement: Get All unused SharePoint Online Sites based on the last modified date. How to Find the Last Modified Date of SharePoint Online Site Collections? If you’re like most SharePoint administrators, you have a number of sites in your SharePoint Online tenant that are no longer being used, and you may want…

Read more

SharePoint Online: Get All Items Created or Modified by a Specific User

Requirement: Find All List Items Created or Modified by a Specific User. PowerShell to Get All Files Created or Modified by a Particular User If you need to get a list of all items created or modified by a specific user in SharePoint Online, Here is the PowerShell script to do that!…

Read more

SharePoint Online: Web Part Usage Report using PowerShell

Requirement: Get All Web Parts from SharePoint Online Page using PowerShell. SharePoint Online: How to Find All Web Parts from a Page? Are you looking for a way to get a list of web parts from a modern page in SharePoint Online for troubleshooting or for gathering data about specific web parts…

Read more

OneDrive for Business: How to Hide Sync Button at Tenant Level?

Requirement: Disable Sync button in OneDrive for Business. OneDrive for Business is a great cloud-based collaboration platform used to store, manage, and share files. However, there may be times when you need to disable the sync feature. Perhaps you’re working on a project that requires a lot of disk space, bandwidth, or…

Read more

How to Run PowerShell Scripts for SharePoint Online?

Requirement: Run PowerShell Script in SharePoint Online. How to Run a PowerShell Script for SharePoint Online? PowerShell is a powerful scripting language that can be used to automate SharePoint Online tasks! This blog post will show you how to execute PowerShell scripts for SharePoint Online and how you can use them to…

Read more

SharePoint Online: Remove a Content Type from All Lists in a Site Collection using PowerShell

Requirement: Remove Content Type from All Lists and Libraries in a SharePoint Online Site Collection. PowerShell to Remove Content Type from All Lists and Libraries in a Site Collection In SharePoint Online, there may be times when you want to remove a content type from all the lists in a site collection….

Read more

SharePoint Online: Add Calendar Item using PowerShell

Requirement: Add Calendar event in SharePoint Online using PowerShell. PowerShell to Add New Item in SharePoint Online Calendar PowerShell is a powerful scripting language that can automate many tasks in SharePoint Online. Let’s add events to the SharePoint Online calendar using PowerShell: To Set “All Day Event”, set flag “fAllDayEvent” = $true;…

Read more