Sometimes, it is more efficient to use existing console tools rather than PowerShell cmdlets. For example here is a way to create a large file for load tests:
fsutil file createnew $env:temp\dummy.bin (1gb)
However, you should note that fsutil requires admin privileges.