Skip to content

Instantly share code, notes, and snippets.

@espio999
Created November 7, 2021 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save espio999/48a877a6f9c790c23ddd9fa67d02ebc1 to your computer and use it in GitHub Desktop.
Save espio999/48a877a6f9c790c23ddd9fa67d02ebc1 to your computer and use it in GitHub Desktop.
/dev/zero with PowerShell
$size = 1024 * 128
$data = New-Object byte[] $size
Set-Content -Value $data -Encoding byte my_binary.dat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment