Needing to generate random files on windows? Try this powershell one liner….
1..100 | % { $out = new-object byte[] 1073741824; (new-object Random).NextBytes($out); [IO.File]::WriteAllBytes("s:\file$_.bin", $out) }
Generates 100 1G files of random data.
Not as easy as the old dd on linux. But it works
Note:fsutil file createnew is no good as it created emtpy files
Create random files