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-McKinnon Thanks for this script. My colleague Conrad has been using it a number of times. He asked me to improve this idea to avoid the copy/paste pieces. So I spent half a day and came up with https://neroblanco.co.uk/2022/02/get-list-of-videos-from-microsoft-stream/ It basically does the same thing as what you're doing but uses a scraping technique to get the date center and access token, so then it can loop through the videos without interaction!
Thanks again!
Hi Twan van Beers ,thanks so much for your comment and blog post. Thanks also to ConradMurray for prompting you to work on this problem. I've just updated the code at the top of this script to a slight variation on your code, to give me the detail I needed.