Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

powershell script to move files from disk to fileshare

$
0
0

I am new to powershell and need a decent intelligent script to move files.

Source is D:\backup1

Destination is \\1.2.3.4\backup1

I need to check that the destination folder exists, delete contents of the destination folder the move the files from source to destination.

Also relevant checks and std out too....

Is this easy??

I'm more of a unix shell scripter than windows....

thanks


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>