I have two machines Server A and Server B I want to copy all the files and folder tree from Server A to Server B and create the same file and folder tree using powershell scripting
I have tried the command given below but it copies only the files in the folder but do not create the folder tree
Copy-Item E:\TestSource\* //TestDestination/ -recurse -force
Please reply soon, its urgent
Thanks in Advance