How to generate random files with Powershell2023-06-12T02:10:29+00:00

How often have you worked on a project were you needed to generate files in big quantity in order to simulate a data usage ? Plus, on some projects you need just one or two big files, just to measure bandwidth, or validate a backup procedure, and on some other projects, you actually need a huge number of small files.

Well, i was facing that situation the other day, and started to write a function in order to create files randomly with “humanly understandable” names.

Find here the code for the function “Create-Files” which can help you fulfill theses needs 🙂

Go to Top