Scripts/DownloadGamesList.ps1
Remove-Item -Path C:\Users\JaapTerlouw\Downloads\want-to-play* -Force # Invoke-WebRequest "https://www.igdb.com/users/jaapenberthine/lists/want-to-play.csv" Start-Process "https://www.igdb.com/users/jaapenberthine/lists/want-to-play.csv" # Start-Process "https://www.twitch.tv/login" Start-Process "https://www.igdb.com/users/jaapenberthine/lists/want-to-play" while (!(Test-Path "C:\Users\JaapTerlouw\Downloads\want-to-play.csv")) { Start-Sleep 1 } Move-Item -Path "C:\Users\JaapTerlouw\Downloads\want-to-play.csv" -Destination "$($env:OneDrive)\Troep" -Force -Verbose |