OneDrive for Business on-premises size report

%3CLINGO-SUB%20id%3D%22lingo-sub-206161%22%20slang%3D%22en-US%22%3EOneDrive%20for%20Business%20on-premises%20size%20report%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-206161%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20looking%20to%20migrate%20OneDrive%20for%20Business%20on-premises%20to%20OneDrive%20for%20Business%20in%20Office%20365.%20In%20order%20to%20prepare%20as%20good%20as%20possible%2C%20I%20would%20like%20to%20generate%20a%20report%20containing%20the%20size%20of%20each%20OneDrive%2C%20and%20preferably%20also%20the%20number%20of%20subsites%20and%20libraries.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anybody%20know%20if%20this%20is%20possible%3F%20Please%20keep%20in%20mind%20that%20this%20is%20not%20Office%20365%2C%20but%20OneDrive%20hosted%20on-premises.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20on%20forehand.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-206161%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EReport%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EStorage%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-207209%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20for%20Business%20on-premises%20size%20report%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-207209%22%20slang%3D%22en-US%22%3EYes%2C%20totally%20possible%20using%20PowerShell....you%20can%20use%20just%20SharePoint%20OnPrem%20cmdlets%20to%20get%20that%20information.%20For%20instance%2C%20the%20following%20script%20I%20created%20a%20while%20ago%20can%20get%20this%20information%20for%20all%20the%20site%20collections%20in%20a%20SharePoint%20Farm%20so%20it%20can%20be%20also%20a%20good%20starting%20point%20for%20you%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2FGet-the-storage-used-by-63009f3c%3Fredir%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgallery.technet.microsoft.com%2FGet-the-storage-used-by-63009f3c%3Fredir%3D0%3C%2FA%3E%3C%2FLINGO-BODY%3E
Highlighted
Visitor

Hi all,

 

I am looking to migrate OneDrive for Business on-premises to OneDrive for Business in Office 365. In order to prepare as good as possible, I would like to generate a report containing the size of each OneDrive, and preferably also the number of subsites and libraries.

 

Does anybody know if this is possible? Please keep in mind that this is not Office 365, but OneDrive hosted on-premises.

 

Thanks on forehand.

1 Reply
Yes, totally possible using PowerShell....you can use just SharePoint OnPrem cmdlets to get that information. For instance, the following script I created a while ago can get this information for all the site collections in a SharePoint Farm so it can be also a good starting point for you:
https://gallery.technet.microsoft.com/Get-the-storage-used-by-63009f3c?redir=0