OneDrive for Business on-premises size report

Copper Contributor

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.

2 Replies
Yes, totally possible using 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:

@Juan Carlos González Martín Hello I need the script urgently please and the link is not working any more