I have two Copy-Item commands
folder1 and folder2 contain folders and files
Both teams are similar, but I get different results
- Copy contents of folder1 to destination - OK
- Copy folder2 with all content to destination - \ remote_machine \ destination \ folder2 - FAIL
UPDATE: I am not getting any errors. The problem is the path to the second folder. I want the contents of both folders in the same destination folder.
source share