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

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
- 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
- Small Tips and Tricks – Microsoft 365 : SharePoint Online – Know the total storage / space allocated and used storage for my organization – from SharePoint admin center
- Small Tips and Tricks – Microsoft 365 : SharePoint Online – Managing site storage limit – from SharePoint admin center
Thanks for reading. Enjoy the beautiful LIFE 🙂
1 Response
[…] 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-… […]