Hi @Joanna Łęgowska ,
According to my test and research, this command is used in SharePoint to check the content stored in the site you specify:
Reference:
Get-SPOSite
Per my knowledge, in the SharePoint instructions, this requirement is currently not supported. SharePoint and OneDrive are independent products, so I would suggest you go to the OneDrive forum for more professional advice:
OneDrive for Business
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.