PowerShell Create 1GB Files of Random Data

PowerShell Create 1GB Files of Random Data

Someone wanted to see vSAN’s Deduplication and Compression number by generating random data in windows.

The PowerShell script will ask for how many 1GB files to create, the folder and file name.

Thanks https://pio.nz/2019/02/22/210/ for the core code; I just made it interactive and custom.

 

Why

Someone wanted to see vSAN’s Deduplication and Compression number by generating random data in windows.

The PowerShell script will ask for how many 1GB files to create, the folder and file name.

Thanks https://pio.nz/2019/02/22/210/ for the core code; I just made it interactive and custom.

Script

[crayon-61701a5837709950782511/]

 

Menu