This script helps to get the storage used by all Office 365 Video channels across your tenant.

This script first runs a SharePoint Online search query to retrieve all the Office 365 Video channels. Once we get all the Office 365 Video channels, then using Get-SPOSite, retrieve the storage used by each channel.

To run this script you need the SharePoint Admin Portal Url, SharePoint Portal Url and user credentials to connect your SharePoint Online.

Prerequisities:

Step1:

This script first asks for the sharepoint online details.

 

PowerShell
Edit|Remove
PS C:\Video Channel> .\Get-AllVideoChannelStorage.ps1 
Enter SPO Admin Portal URL(https://<domain>-admin.sharepoint.com):: https://xxxxx-admin.sharepoint.com 
Enter SPO Portal URL(https://<domain>.sharepoint.com):: https://xxxxx.sharepoint.com

Step2:

Then it prompts for the username and password to connect to your SharePoint Online.

  

Result:

Finally it lists all the Office 365 Video Channels in your tenant with the storage details.

 

PowerShell
Edit|Remove
Performing the SPO Search Query to get all the Office 365 Video Channels... 
Collecting the Office 365 Video Channel Storage Details... 
 
Office 365 Video Channel Storage Details: 
----------------------------------------- 
 
Site Name                    :  Community 
Site URL                     :  https://xxxx.sharepoint.com/portals/community 
CurrentStorageinMB           :  7 
StorageQuotainGB             :  1024 
StorageQuotaWarningLevelinGB :  999 
 
 
Site Name                    :  General 
Site URL                     :  https://xxxx.sharepoint.com/portals/general 
CurrentStorageinMB           :  1 
StorageQuotainGB             :  1024 
StorageQuotaWarningLevelinGB :  998.3994140625 
 
 
Site Name                    :  Nature 
Site URL                     :  https://xxxx.sharepoint.com/portals/nature 
CurrentStorageinMB           :  26 
StorageQuotainGB             :  1024 
StorageQuotaWarningLevelinGB :  998.3994140625