Hi. I an completely new to scripting.
I found an answer on your site for making multiple copies of a known file :
1..10 | % { copy-Item "C:\filename*.tif" "C:\filename$_.tif"}
However, the name of the file I need to copy is different each time.
Can you please show me how I can get the filename each time?
And also a user input for the number of copies?
Most obliged. Simon.