Last active
August 29, 2015 14:04
-
-
Save JogoShugh/5349c06f312c2e23834e to your computer and use it in GitHub Desktop.
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
param($version) | |
$releases = iwr -UseBasicParsing -Uri https://community.versionone.com/Release-Notes-and-Downloads | |
$releases.Links | % { | |
if ($_.href -and $_.href.IndexOf($version) -gt -1) { | |
$release = iwr -UseBasicParsing -Uri $_.href | |
$release.Links | % { | |
if ($_.title -and $_.title.ToLower() -eq "download enterprise edition") { | |
echo $_.href | |
} | |
} | |
} | |
} |
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
PS C:\Users\JGough> .\Get-V1EnterpriseDownloadLink.ps1 14.1.6.84 | |
http://www.versionone.com/download$/AGCH8VgV/V1.14.yZb1JO9z.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment