Last active
November 10, 2019 17:44
-
-
Save jaapbrasser/766a0bef460fcf997db8b0f964d7260a to your computer and use it in GitHub Desktop.
Download all Microsoft Ignite presentations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(irm 'https://api-myignite.techcommunity.microsoft.com/api/session/all') | | |
? title -match powershell | | |
% -Parallel { | |
iwr $($_.downloadVideoLink) -OutFile "C:\ignite\$($_.sessioncode).mp4" | |
} | |
# Originally tweeted by Anthony Allen | |
# https://twitter.com/PSAdm/status/1192909669947318272?s=19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
on line 5 you can add
-ThrottleLimit 10
(or 20 or even 50 if adventurous & have the CPU & Network bandwidth) to speed this up further as by default the for each parallel will do 5 runs at a time(you could also remove line 2 for all the sessions 😊