Created
January 14, 2021 15:12
-
-
Save djfdyuruiry/87e97d64c6596d12bf16612e47427c35 to your computer and use it in GitHub Desktop.
Download Lastest dgVoodoo 2 Wrapper
This file contains hidden or 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
$dgVoodooArchiveUrl = "http://dege.freeweb.hu/dgVoodoo2/bin" | |
$latestZip = Invoke-WebRequest -UseBasicParsing -Uri $dgVoodooArchiveUrl | ` | |
Select-Object -ExpandProperty Links | ` | |
Select-Object -ExpandProperty href | ` | |
Where-Object { $_ -match "dgVoodoo2_\d+(_\d+)*[.]zip" } | ` | |
Sort-Object | ` | |
Select-Object -Last 1 | |
Invoke-WebRequest -UseBasicParsing -Uri "${dgVoodooArchiveUrl}/${latestZip}" -OutFile $latestZip | |
Write-Host "Downloaded latest dgVoodoo 2 release: ${latestZip}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment