Get-Set OneDrive Site Collection Storage Quota Size using PowerShell

Get OneDrive Site Collection Storage Quota Information To get the storage quota data for a particular OneDrive site, use this PowerShell cmdlet in SharePoint Online Management Shell This gets you the currently allocated storage quota data for a single site collection. Get Storage Quota Details of All OneDrive Site collections Use this…

Read more

Get All SharePoint Online Site Collections Inventory using PowerShell

Requirement: Get all site collections inventory in SharePoint Online using PowerShell PowerShell to Get All SharePoint Online Site Collections Inventory Let’s get a list of SharePoint Online sites using PowerShell: and the result: Here is the List of all properties you can retrieve from a SharePoint Online site collection: LastContentModifiedDate Status ResourceUsageCurrent…

Read more

How to Disable Auditing in SharePoint using PowerShell?

Requirement: Disable auditing in SharePoint site collection. How to Disable Auditing in SharePoint? You may want to, To disable auditing for a SharePoint On-premises site collection follow these steps: Go to Site Settings >> Click on “Site Collection Audit Settings” under site collection administration. In Configure Audit Settings page, clear all checkboxes…

Read more

SharePoint Online: Add Site Column to List using PowerShell

Requirement: Add an existing site column to SharePoint list or library using PowerShell. How to Add a Site Column to SharePoint Online List? Site columns in SharePoint provide a great re-usability without having to recreate the same columns multiple times! Once created at the top-level site, we can utilize them to store…

Read more

SharePoint Online: Restore Deleted Subsite from Recycle Bin using PowerShell

Requirement: The user had deleted a subsite by mistake. Now the requirement is to restore the deleted subsite in SharePoint Online. How to restore a deleted subsite in SharePoint? Deleted subsites in SharePoint Online are moved to the second-stage recycle bin and can be restored by the Site Collection Administrators. To restore…

Read more

SharePoint Online: Get Recycle Bin Storage Size using PowerShell

Requirement: Get the recycle bin storage space consumption of all SharePoint Online site Collections. SharePoint Online: Find Recycle Bin Storage Size of a Site Collection PowerShell to Get SharePoint Online Recycle bin Storage Size: This script gets you the storage occupied by first stage and second stage recycle bins of all site…

Read more

SharePoint Online: How to Hide Default Themes?

Themes are quick ways to add branding to SharePoint Online sites. However, we wanted to restrict site owners from changing the themes for a uniform look and feel overall sites. Fortunately, SharePoint Online provides a cmdlet to hide default themes and enforce governance. PowerShell to Hide Default Themes in SharePoint Online: Open…

Read more

How to Add a Domain to Office 365 – Step by Step

Domain names play a vital role in establishing trust and a personalized brand in your organization. It’s typically used in your website addresses and Email Ids. When you first sign up for Office 365, The default domain name “Your-domain.onmicrosoft.com” will be assigned. Until you add your own domain to Office 365, any…

Read more

SharePoint Online: Delete Site Collection from Recycle Bin using PowerShell

Requirement: Delete Site Collection from recycle bin in SharePoint Online How to Delete SharePoint Online Site from recycle bin? When we delete a SharePoint Online site collection, it goes to the Recycle Bin and stays there for 93 days. However, at times we may want to completely delete the site from recycle…

Read more

SharePoint Online: Check If Folder Exists using PowerShell

Requirement: Check if folder exists in SharePoint Online document library. SharePoint Online: PowerShell to Check If Folder Exists Here is the PowerShell for SharePoint Online to check if folder exists. Alternatively, you can use the other method used in my another article: SharePoint Online: Create a Folder using PowerShell

Read more