Skip to content

Instantly share code, notes, and snippets.

@gpolitis
Created December 20, 2012 23:27
Show Gist options
  • Save gpolitis/4349530 to your computer and use it in GitHub Desktop.
Save gpolitis/4349530 to your computer and use it in GitHub Desktop.
function emacs
{
&"C:\Program Files (x86)\emacs-24.2\bin\emacs.exe" "-nw" $args
}
function Get-BitsFile
{
Get-BitsTransfer | % {
$_.FileList | % {
New-Object PSObject -Property @{
Progress = ($_.BytesTransferred / $_.BytesTotal)
LocalName = $_.LocalName
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment