Forum Discussion
Powershell Script to list ALL videos in your 365 Stream environment
- Oct 22, 2022
Anyone looking at this script should also look at the PowerShell script that was released by Microsoft as part of the Stream (Classic) migration tools. The PowerShell script released by Microsoft can be downloaded directly from Stream (Classic) admin page and also has a PowerBI Desktop template that can be used to analyze the output CSVs.
See this part of the migration help articles for more info:
https://learn.microsoft.com/stream/streamnew/migration-details#stream-classic-video-report
- Dorje-McKinnonAug 05, 2021Iron Contributor
Hi WhatTheFork
My guess is that you didn't manually save the JSON files into the folder defined in the script.
This new code will make it a bit easier (JSON files auto open in their own browser tabs), BUT you still have to save each one as a JSON file into the folder you define in the script. Then your CSV won't be blank.
- Frank ChenApr 28, 2021Brass Contributor
Appreciate Dorje-McKinnon idea, I also created a windows form application which will automatically enumerate that API and save the result to a CSV file. Please reference to https://github.com/frankchen76/StreamsInventory/blob/master/demo.gif GitHub repository for the code. I also created a blog post https://frankchen2016.medium.com/inventory-videos-from-classic-stream-355bee0aac3 to explain the detail steps. Thanks