powershell

Powershell Çoklu Dosya Oluşturma

Powershell çoklu dosya oluşturma komutu aşağıdaki gibidir.

Bu komut şu anlama gelir. Git C:temp dosyası altında 1 den 9 a kadar txt uzantılı dosya oluştur. İsterseniz pathi ve uzantıyı değiştirerek istediğiniz sayıda dosya oluşturabilirsiniz.

1..9 |foreach {New-Item -Path C:\Temp\$_.txt}

Bir yanıt yazın