Hi @oemScript-8271 ,
maybe this helps.
$targetpath = "<target drive>"
$sourcefile = "samples.jpg" # Just put the sourcefile in the same folder with the script
$copies = 15
$counter = 0
do {
Copy-Item -path $sourcefile -Destination "$targetpath\$counter$sourcefile"
$counter++
} until ($counter -eq $copies)
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten