Small Tips and Tricks – Microsoft 365 : SharePoint Online – Know the total storage / space allocated and used storage for my organization – from PowerShell

fig : Microsoft 365 - PowerShell - Get Tenant level settings
fig : Microsoft 365 - PowerShell - Get Tenant level settings

Hi All,

Greetings for the day!!!

Today one more small but useful PowerShell script.

In last article we discussed – how to know the total SharePoint storage / space for my organization as well the total used space / storage for my organization using SharePoint admin center. Small Tips and Tricks – Microsoft 365 : SharePoint Online – Know the total storage / space allocated and used storage for my organization – from SharePoint admin center

In this article we will discuss how to know / view the total SharePoint storage / space for my organization as well the total used space / storage for my organization using PowerShell

Details

  • Connect to our Microsoft 365 Tenant using – Connect-SPOService
PS C:\> Connect-SPOService -Url https://knowledgejunction1-admin.sharepoint.com

  • Once we successfully connected to Tenant, get the tenant settings using – Get-SPOTenant
Get-SPOTenant

fig : Microsoft 365 - PowerShell - Get Tenant level settings
fig : Microsoft 365 – PowerShell – Get Tenant level settings
  • As in above figure, we have following two properties related to Storage
    • StorageQuota – This property returns the value – Total storage / space allocated to my organization / Tenant
    • StorageQuotaAllocated – This property returns the value – storage allocated to all my sites in MB

Permissions required to execute the “Get-SPOTenant” CMDLET

  • Global Administrator
  • SharePoint Administrator

REFERENCES

Thanks for reading. Enjoy the beautiful LIFE 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and live-beautiful-life.com, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

1 Response

  1. August 20, 2023

    […] Small Tips and Tricks – Microsoft 365 : SharePoint Online – Know the total storage / space allocated and used storage for my organization – from PowerShell – https://knowledge-junction.in/2023/02/15/small-tips-and-tricks-microsoft-365-sharepoint-online-know-… […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: