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 Microsoft 365 Junction, Speaker, Author, Learner, Developer, Passionate Techie. Certified Professional Workshop Facilitator / Public Speaker. Believe in knowledge sharing. Around 20+ years of total IT experience and 17+ years of experience in SharePoint and Microsoft 365 services Please feel free me to contact for any SharePoint / Microsoft 365 queries. I am also very much interested in behavioral (life changing) sessions like motivational speeches, Success, Goal Setting, About Life, How to live Life etc. My book - Microsoft 365 Power Shell hand book for Administrators and Beginners and 100 Power Shell Interview Questions - https://www.amazon.in/Microsoft-Administrators-Beginners-Interview-Questions/dp/9394901639/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1679029081&sr=8-11

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.

Discover more from Microsoft 365

Subscribe now to keep reading and get access to the full archive.

Continue reading