How to Set the Default OneDrive for Business Storage Space with the help of PowerShell

ITPro Today

September 24, 2017

1 Min Read
One Drive Logo

In one of the earlier articles, I have showed you to set the default OneDrive for Business storage space with the help of GUI. However, this article focuses on setting the default OneDrive for Business storage space with the help of PowerShell commands.

Prerequisites

Download and install SharePoint Online Management Shell

Step-By-Step

1. Open PowerShell with elevated privileges and execute the following command to connect to SharePoint Online. Replace the appropriate values. When you are prompted, type the password and hit ‘Enter’ key from the keyboard.

Connect-SPOService –Url https://-admin.sharepoint.com –Credential

2. When you are successfully connected, issue the following command to set the default OneDrive for Business storage space. Put the value in MB in place of quota like 5242880 for 5 TB.

Set-SPOTenant -OneDriveStorageQuota

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like