Skip to content

Create files for a lab environment that can be used for email transport scenarios, and file migrations

License

Notifications You must be signed in to change notification settings

dgoldman-msft/NewJunkFiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewJunkFiles

This is a test script that you can run in a lab environment that will facilitate the creation of multiple file types (Word, Excel, PDF, Text, Email (Eml)).

To get started with this script

  1. Copy down to a local directory
  2. Run . .\NewJunkFiles.ps1 - This will import the script in to the local PowerShell session

EXAMPLE 1: New-Junkfile -DefaultType Text -FileSize StupidLarge -NumberOfFilesToCreate 1 -NumberOfWords 100

Will create 1 extremely large text file

EXAMPLE 2: New-Junkfile -DefaultType Word, Excel -FileSize Large -NumberOfFilesToCreate 25 -NumberOfWords 5

Will create 25 large Word and Excel documents

EXAMPLE 3: New-Junkfile -DefaultType Word, Excel, Pdf, Email -FileSize Massive -NumberOfFilesToCreate 50 -NumberOfWords 5

Will create 50 massive Word, Excel, exported Pdf's and eml files

For more help information please reference: New-Junkfile Help File

About

Create files for a lab environment that can be used for email transport scenarios, and file migrations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published