0

Hi how can we copy multiple files to multiple servers at the same time instead of going one by one? Here i have list of servers in serverslist.txt…… Files folder named as “Softwares” where we have list of files to copy. Can we able to do this using powershell?

0

1 Answer 1

-1

This should do what you need:

Get-Content "path to server list" | Foreach-Object { Copy-Item -Path "path to software folder" -dest (join-path $_ "Destination folder name")}
Sign up to request clarification or add additional context in comments.

2 Comments

This won't "copy multiple files to multiple servers at the same time instead of going one by one".
I think to do that, You may want to use something other than powershell

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.