Problem

While migrating from/to OneDrive, you need to know the size of drive storage.

Resolution

Please find below a PowerShell script, which searches for users’ drive logins and retrieves the size of each storage.
The results are saved in the directory C:\temp.