Created
October 1, 2013 01:46
-
-
Save harmony7/6772868 to your computer and use it in GitHub Desktop.
Obtain a copy of mercurial
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
$filename = "tortoisehg-2.9.1-hg-2.7.1-x64.msi" | |
$source = "http://bitbucket.org/tortoisehg/files/downloads/$filename" | |
$destination = ".\$filename" | |
write-host "`nDownloading $source to $destination." | |
$wc = New-Object System.Net.WebClient | |
$wc.DownloadFile($source, $destination) | |
write-host "`nDone." | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment