Forum Discussion
Dorje-McKinnon
Oct 07, 2020Iron Contributor
Powershell Script to list ALL videos in your 365 Stream environment
I hope this is useful to everyone. My goal was to get a list of all videos in my stream so that I could contact each video creator about the changes that are coming to stream. Also so I could figur...
- 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
Rolzzzz
Nov 22, 2021Copper Contributor
Dorje-McKinnon I'm going to see if "Invoke-WebRequest" is something we can use to automate it
https://linuxhint.com/run-wget-powershell
Rolzzzz
Nov 23, 2021Copper Contributor
wasted a good few hours, but just cant get cli auth working... raging hard that this is a roadblock grumble...
- Dorje-McKinnonNov 23, 2021Iron ContributorRolzzz Not sure where you're getting authorisation issues, but check row 50 of the code. The script has to run under one security context and the browser window also needs to have credentials entered into it.
- RolzzzzNov 23, 2021Copper Contributorwas trying to get PS to auth into Stream without a browser so I could Invoke-WebRequest the generated weblinks to auto download the json files to the specified download folder...
- mfarleyNov 23, 2021Copper ContributorI ended writing an "autohotkey" type of script to control the keyboard and mouse to automate the downloading of all the files