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
$f.SetLength(100MB)
$f.Close()

Leave a Reply

Scroll to Top