dimanche 27 avril 2014

How can I schedule this simple powershell script 3.0 to run using Win Server 2012?


Vote count:

0




This simple copy line in powershell runs interactively but when I try to schedule in Windows task scheduler, it shows that it completed but it did no work. I.e., it did not copy the file. I tried using the steps listed at this url: http://ift.tt/QT5fRv but still no luck. If anyone can give me some advice, I would be greatful. Here is the one line script (using UNC paths gets multiple access prohibited errors) If I could get the share names working first, that would be a start.


Copy-Item -Path V:\data\bar\foo\Outlook*.pst -Destination D:\Data\foobar\Outlook


Many thanks



asked 32 secs ago






Aucun commentaire:

Enregistrer un commentaire