WindowsMachineFileCopy using /xd doesnt honor multiple machines
See original GitHub issuewhen WindowsMachineFileCopy is used to copy to multiple machines, and the /XD option is used in the additional arguments in order to exclude a directory, the path specified needs to be able to replace the drive letter with all the servers in the list.
e.g.
(server1, server2, server3)
/XD c:\XXXX
needs to become
\\server1\c$\XXXX
\\server2\c$\XXXX
\\server3\c$\XXXX
similar to the way done with the destination path
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
WindowsMachineFileCopy using /xd doesnt honor multiple ...
when WindowsMachineFileCopy is used to copy to multiple machines, and the /XD option is used in the additional arguments in order to exclude ......
Read more >Several windows machine file copy tasks at the same time ...
Several windows machine file copy tasks at the same time failing with error "Multiple connections to a server or shared resource by the...
Read more >Windows machine file copy v2 task - Microsoft Learn
Use this task to copy files to remote Windows machines. ... task: WindowsMachineFileCopy@2 inputs: SourcePath: # string. Required. Source.
Read more >Untitled
Ice cream name in different languages? Dol ecomp training, Cokoladovna kitsee, Dander remover for furniture, Rescue pro free activation code, Malvindar?
Read more >Adobe XD appears as not compatible on Creative Cloud ...
Creative Cloud desktop app shows Adobe XD as Not Compatible on a Windows machine that meets all the system requirements.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@amccool /XD is used for excluding the source. So in logs you can see “Exc Dirs : \Sourceserver1\SkipThisFolder” . this will not get resolve as target paths.
@amccool
Using multi config feature in Release you can achieve what you are looking for without adding multiple instances of task. I have given details with screen shots below
Refer screen shot below