1. New-Item -ItemType Directory -path c:\data1
  2. 1..50 |ForEach-Object {New-Item -ItemType file `
  3. -Path c:\data1 -Name "File_$_.txt"}