Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <#
- .NOTES
- #------------------------------------------------------------------------------------------------------------
- # Date : 28-09-2018
- # Script name : Download-Ignite2018Presentations.ps1
- # Description : Downloads the Microsoft Ignite 2018 Break-Out and Theater session presentations
- #
- # Created by : Ralph Jansen
- # Extra module :
- # Copyright : ©2018, all rights reserved.
- # History : RJA 28-09-2018 Initial version
- #
- #------------------------------------------------------------------------------------------------------------
- .DESCRIPTION
- Downloads the Microsoft Ignite 2018 Break-Out and Theater session presentations
- .EXAMPLE
- .\Download-Ignite2018Presentations.ps1 C:\Users\Pete\Downloads\Ignite
- #>
- param($downloadlocation)
- $ErrorActionPreference = "SilentlyContinue"
- for ($x = 0; $x -lt 10000; $x += 1)
- {
- "Processing https://mediusprodstatic.studios.ms/presentations/Ignite2018/BRK$x.pptx"
- Invoke-WebRequest -Uri "https://mediusprodstatic.studios.ms/presentations/Ignite2018/BRK$x.pptx" -OutFile "$downloadlocation\BRK$x.pptx"
- "Processing https://mediusprodstatic.studios.ms/presentations/Ignite2018/THR$x.pptx"
- Invoke-WebRequest -Uri "https://mediusprodstatic.studios.ms/presentations/Ignite2018/THR$x.pptx" -OutFile "$downloadlocation\THR$x.pptx"
- }
Add Comment
Please, Sign In to add comment