Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Need one Powershell script to move the files

$
0
0

Hello... need one powershell script for below requirement.

1st we need to copy the file in one FTP location and then we need to Cut & Paste (move) all the files from below folder to another shared folder with same folder hierarchy.

First copy all the files to below FTP

FTP:\\10.10.10.1

FTP User Name:User1

FTP Password:password1

 

Then move the files from below source to destination 

From (Source Server)

c:\Folder1

c:\Folder2

c:\Test_Folder1

c:\Test_Folder2

c:\File_Folder1

c:\File_Folder2

TO (Destination Server)

\\Server1\Folder1

\\Server1\Folder2

\\Server1\Test_Folder1

\\Server1\Test_Folder2

\\Server1\File_Folder1

\\Server1\File_Folder2

 

Please help... Thanks in advance. 


Viewing all articles
Browse latest Browse all 6937

Trending Articles