Script

MMS 2012 Download Sessions – Offline Viewing

Here I just created a script to download the MMS 2012 sessions for offline viewing Smiley.

There are few things you will need:

UPDATE (26.04.2012):

I uploaded the latest sessions.txt file to skydrive which I received from Eric. It contains 208 session names. I have not verified all sessions. I could download 165 Sessions. 43 sessions couldn’t be downloaded. Maybe give it a shot it is in a zip file called sessions_208.zip.

UPDATE (20.04.2012): Wow! I didn’t expect to get so many nice words and suggestions. As a result of this I improved the script an built in some error handling.
Download the zip file MMS2012_Downloader_V2.zip

Setup:

  1. Copy the script file and the sessions.txt into the same directory!
  2. Add your credentials on top of the script. Nothing more to adjust!
  3. Call the script you just need to specify the path drive where you want to save the files e.g.

MMS2012_DownloaderV2.ps1 c:

A folder MMS2012Sessions will be created on c:\MMS2012Sessions

Improvements:

  • I added the key note files into sessions.txt (credits to oclash)
  • Script checks for neccessary files and would write a meaningful error Smiley
  • Sessions which cannot be downloaded will be written out to a file in the script directory called sessions_notavailable.txt. You just can rename this file to sessions.txt and start the download again Zwinkerndes Smiley.

Create an account

Go to http://www.mms-2012.com/digitalmms and click…

image

and then going here…

image

I didn’t try facebook, twitter and other accounts in my script!

Script setup

After you copied the script and sessions.txt file e.g. to c:\temp, open the script and adjust the credentials, target path and where the sessions.txt file is located.  Then execute the script in Powershell…

The script looks like this….

image

At this moment I am just downloading session 29…some sessions are maybe not available yet as you can see here…

image

I did not test the script very extensively so please forgive me any errors.

If you wan to know which session talks about what and what is the name of the session, you can download the pdf from here.

Have fun!

75 Replies to “MMS 2012 Download Sessions – Offline Viewing

  1. when i ran script i get this output:

    Downloading Session…SV-IL307.wmv Number: 155 out of 155
    Exception calling “DownloadFile” with “2” argument(s): “An exception occurred during a WebClient request.”
    At C:tempMMS2012_Downloader.ps1:29 char:22
    + $wclient.DownloadFile <<<< ($file,$download)
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

    1. Hi Danny

      I just updated the script. No more such errors should happen.

      Sorry when I published it it was just too late for error handling 🙂

      Regards,

      Stefan

  2. Works like a charm, thanks!
    B.T.W: if you get error “An exception occured during a webclient request” make sure you’ve specified the correct target folder to download the files to.
    I had specified a folder for it, but expected the script to automatically..create the subfolder,which it didn’t 🙂

    1. Hi Rik

      Thank you!

      I just updated the script to V2.

      The reason I just didn’t built in some error handling was because it was 02:00 in the morning when I finished and anyway who needs error handling:).

      Regards

      Stefan

  3. Awesome! Thanks! FYI Some people may need to configure PS so the script runs: “set-executionpolicy remotesigned”

  4. Nice post and script Stefan -well done, makes reviewing the sessions I missed at MMS all the more easier offline. Especially since we’re not getting a DVD this year with the recordings.

    Thanks!

    Kevin Greene.

  5. I’ve validated that it does work if you pass Windows Live ID credentials as the email and password.

  6. I think I broke it!

    When I run the script it downloads all the files, but they’re only 3KB. I’m not receiving any errors, any idea of a fix?

    Thanks!

    1. Hi Patrick

      Sorry about the delay offically I am on vaccation :).

      I haven’t heard of any problems so far. Have you tried to download other stuff from the internet using your browser? Does it work? Maybe some proxy/firewall/antivirus is causing the problem.

      Let me know.

      Regards,

      Stefan

  7. Awesome… just what I needed. Anyway it can be tweaked to get the powerpoints?

    Quick modify so that you don’t have to hard-code your password:
    write-host “PLEASE ENTER YOUR PASSWORD (Don’t worry, it’s secure.)”
    $password = Read-Host -AsSecureString

  8. Argh, am I doing something wrong? Or has something changed with the hosting of the videos? All I get is the following when I run the script for each of the sessions…
    Downloading Session…CD-IL320.wmv Number: 149 out of 157
    Session not available please check C:MMS2012sessions_notavailable.txt
    Downloading Session…CD-IL321.wmv Number: 150 out of 157
    Session not available please check C:MMS2012sessions_notavailable.txt
    Downloading Session…CD-IL322.wmv Number: 151 out of 157
    Session not available please check C:MMS2012sessions_notavailable.txt
    Downloading Session…CD-IL323.wmv Number: 152 out of 157
    Session not available please check C:MMS2012sessions_notavailable.txt
    Downloading Session…CD-IL324.wmv Number: 153 out of 157
    Session not available please check C:MMS2012sessions_notavailable.txt
    Downloading Session…SV-IL301.wmv Number: 154 out of 157
    Session not available please check C:MMS2012sessions_notavailable.txt
    Downloading Session…SV-IL304.wmv Number: 155 out of 157
    Session not available please check C:MMS2012sessions_notavailable.txt
    Downloading Session…SV-IL306.wmv Number: 156 out of 157
    Session not available please check C:MMS2012sessions_notavailable.txt
    Downloading Session…SV-IL307.wmv Number: 157 out of 157
    Session not available please check C:MMS2012sessions_notavailable.txt
    Finished!

    It does not find any of the session videos, and thus downloads nothing.

    Anyone else seeing this? Or am I missing something?

    Thanks…

    1. Hi Mike
      Those sessions are probably not online yet. Maybe you have to try it later this week. You can verify the only sessions by visiting the MMS 2012 page on http://www.mms-2012.com/digitalmms.
      I just got a new sessions.txt file from Eric with more sessions. I will verify it and upload it tomorrow. Visit my blog for an update and I also will send a tweet 🙂

      Regards,

      Stefan

  9. First off, thank you very much for the script. It was very helpful!

    I’m a bit of a completest, so I compared your original Sessions.txt with the last official list from MMS and found about 34 more videos it downloaded. I’ve got the updated Sessions.txt, but I don’t have a way of getting it to you. 😀

    1. Hi Andy

      To generate my sessions.txt file I used the pdf guide which I put on skydrive. If you missed sessions I just uploaded a new sessions.txt file which I got from Eric. See my update post.

      Regards,

      Stefan

  10. Stefan –
    GREAT script (not only because of the content, but also for the powershell lesson 🙂

    Many thanks!
    Jorge

    1. Hi

      You can not call the URL itself. Try to use the script to download the sessions.

      I just verified that the script still works.

      Regards,

      Stefan

  11. Hello Stefan,

    Thank you for the script, it saves me a lot of time…

    Would be possible to do the same for TechEd 2012 after it is finish in Orlando / Amsterdam???

    Regards,

  12. Thank you Stefan for your kind reply,

    Unfortunately, I am not able to download 43 sessions from MMS 2012:
    Sessions are not available:
    AM-B312.wmv
    AM-B317.wmv
    CD-B214.wmv
    CD-B324.wmv
    CD-B405.wmv
    SV-B307.wmv
    AM-IL302.wmv
    AM-IL304.wmv
    AM-IL305.wmv
    CD-IL305.wmv
    CD-IL306.wmv
    CD-IL307.wmv
    CD-IL308.wmv
    CD-IL309.wmv
    CD-IL310.wmv
    CD-IL311.wmv
    CD-IL312.wmv
    CD-IL313.wmv
    CD-IL314.wmv
    CD-IL315.wmv
    CD-IL316.wmv
    CD-IL317.wmv
    CD-IL318.wmv
    CD-IL319.wmv
    CD-IL320.wmv
    CD-IL321.wmv
    CD-IL322.wmv
    CD-IL323.wmv
    CD-IL324.wmv
    CD-IL327.wmv
    FI-IL301.wmv
    FI-IL303.wmv
    FI-IL304.wmv
    FI-IL305.wmv
    SD-IL301.wmv
    SD-IL302.wmv
    SD-IL303.wmv
    SD-IL305.wmv
    SD-IL306.wmv
    SV-IL301.wmv
    SV-IL304.wmv
    SV-IL306.wmv
    SV-IL307.wmv

    Were you able to download them?

    Thank you and regards,

  13. Here is a list of 37 more videos I found after comparing what downloaded from the script to what’s posted on the site:

    EC-B105.wmv
    EC-B106.wmv
    EC-B107.wmv
    AM-B391.wmv
    AM-B101.wmv
    AM-B390.wmv
    AM-B323.wmv
    CD-B201.wmv
    CD-B338.wmv
    CD-B351.wmv
    CD-B390.wmv
    CD-B340.wmv
    CD-B307.wmv
    CD-B341.wmv
    CD-B391.wmv
    CD-B306.wmv
    CD-B350.wmv
    CD-B213.wmv
    FI-B290.wmv
    FI-B294.wmv
    FI-B291.wmv
    FI-B490.wmv
    FI-B323.wmv
    FI-B292.wmv
    SV-B290.wmv
    SV-B390.wmv
    SV-B293.wmv
    SV-B323.wmv
    SV-B291.wmv
    SV-B321.wmv
    SV-B490.wmv
    SV-B324.wmv
    SV-B292.wmv
    SV-B322.wmv
    SD-B390.wmv
    SD-B318.wmv
    SD-B317.wmv

Leave a Reply to e Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.