Avatar of cwstad2
cwstad2
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

PowerShell script to copy file from a number of remote PC's

Afternoon all, I'm looking to retrieve the following file from ~ 100 PC's  \\PC\c$\Program Files (x86)\TeamViewer\Connections_incoming.txt and was wondering what the best method would be. Ideally i'd like to append a single file and include the name of the host that it was retrieved from. Failing that a separate file for each host.

Many thanks
PowershellShell ScriptingScripting Languages

Avatar of undefined
Last Comment
DEMAN-BARCELO (MVP) Thierry

8/22/2022 - Mon