Any Ps script for Ignite 2016?
Great Script, and thanks Vlad. While it seems I have got all slides, but no video was downloaded. I only change the download path to "D:\Ignite". Did I miss something?
How can I get this script to work behind a corporate Proxy on my workstation? I get this when running the script "The remote server returned an error: (407) Proxy Authentication Required."
I had to add the following lines (">>" prefix) to the script to fix this: >> $proxy = [System.Net.Web
Request]::GetSy stemWebProxy() >> $proxy.Credenti als = [System.Net.Cre dentialCache]:: DefaultCredenti als $rss = (new-object net.webclient) >> $rss.proxy = $proxy
Also had to add the option "-ProxyUsage AutoDetect" to all "Start-BitsTran
sfer" cmdlet invocations.
Just for the sake of other 'non-powershell
' admins 1) Open Windows powershell as administrator 2)Import-module Bitstransfer 3) Change the path for the download folder inside the script (just 1 place) 4) Run the powershell script and enjoy the video 5)Say Thanks to Vlad :) regards - Inderjit (JDA)
fer : Object reference not set to an instance of an object. At C:\scripts\Down loadIgnitevideo sandslidesv4.ps 1:143 char:21 + Start-BitsTrans fer <<<< $url "$downloadlocat ion\$file" -DisplayName $file + CategoryInfo : NotSpecified: (:) [Start-BitsTran sfer], NullReferenceEx ception + FullyQualifiedE rrorId : System.NullRefe renceException, Microsoft.Backg roundIntelligen tTransfer.Manag ement.NewBitsTr ansferCommand
Oh didn't "run as Admin
I'm going to try to do this myself, but it may be helpful to include an option to specify a download location
Hey, You can already do this if you change 1 small line in the script! Line 14! $downloadlocati
on = "C:\Ignite" Change the "C:\Ignite" for whatever you want :).
Did Microsoft not post them all for download? An example of one available for on demand on second screen, but didn't come down with this script.. https://myignit
e.microsoft.com /#/secondscreen /1158ca10-d4b3- e411-b87f-00155 d5066d7?source= schedule (BRK2105)
Seems like not all of them are included in RSS :(. Asked Channel 9 for help, will let you know!
.msdn.com/Forum s/MicrosoftIgni te/Session-RSS- Feeds-for-Ignit e-2015-are-miss ing-blocks-of-s essions#cde4b74 e41d864158b58da 4950077725a The RSS feed for sessions returns blocks of 400. To get the rest of the sessions, add a query string of page=2. $a = ([xml]$rss.down loadstring("htt p://s.ch9.ms/ev ents/ignite/201 5/rss/mp4high?p age=2")) $b = ([xml]$rss.down loadstring("htt p://s.ch9.ms/ev ents/ignite/201 5/rss/slides?pa ge=2"))
Yep, found that as well today on Yammer from someone on Channel9! I fixed the script to include them all! Thanks!
It seems that the slide endpoint does not include all the presentations http://channel9
.msdn.com/Event s/ignite/2015/r ss/slides Does anyone tested it successfully?
Some speakers didn't upload their slides yet, so you can keep running it, or rerun it in 1 week and hopefully should all be there!
Vlad, great script, thanks! However, when I ran it it threw an error once it came to downloading the MP4 files. It said you could not call a method for a NULL expression (line 89 and varous others), followed by some more errors. I then opened the MP4 RSS feed in my browser and saw that the URL was redirected to http://s.ch9.ms
/events/ignite/ 2015/rss/mp4. I replaced the value in the script, relaunched it, and now it started downloading the MP4 files. Maybe you want to look into it. Bye, Nils
Hey Nils, I didn't have any errors, however I fixed the links anyway! It worked with both for me, but no redirection is a lot better! Thanks!