Tuesday, May 9, 2017

Copy-item Files/Folders and sub folders to the destination using Powershell

Copy-Item -Path C:\MyFolder -Destination \\Server\MyFolder -recurse -Force
PS C:\Windows\system32> cp c:\windows\system32 c:\test\kala1 -recurse -force



No comments:

Post a Comment