Currently browsing tag

System.IO.FileStream

Download file with progress

Thanks to Jason Niver on MSDN Blogs (Downloading files from the internet in PowerShell (with progress)), yep, we can download a file …

Create a dummy file

Create a 100Mb blank file in the current directory, for testing purpose $here = Get-Location $f = new-object System.IO.FileStream $here\BlankFile, Create, ReadWrite …

Scroll to Top