header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
Copy files with log
Last Post 28 Jun 2010 01:36 AM by Unknown. 2 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
UnknownUser is Offline
New Member
New Member
Posts:2
Avatar

--
25 Jun 2010 06:48 AM

    Hi,

    I have a problem with one script. I just do copy some some folders and files to other destination, but now I would like that script copy all "my documents" of all users that machine and realease a log to known what happen.
    Do you have any ideas?

    Thank you and sorry for my english


    Regards.

    PoSherLifeUser is Offline
    Basic Member
    Basic Member
    Posts:364
    Avatar

    --
    25 Jun 2010 07:51 AM
    could you post your script?

    if you are using Copy-Item add the -Verbos switch to see exactly what happens.
    When at first you don't succeed Step-Into

    http://theposherlife.blogspot.com
    http://www.jandctravels.com

    UnknownUser is Offline
    New Member
    New Member
    Posts:2
    Avatar

    --
    28 Jun 2010 01:36 AM
    I use this script:

    current script: $b = read-host "Input filename to backup"
    copy-item "C:\My Documents\$b" -destination "G:\My Documents"
    copy-item "C:\My Documents\$b" -destination "H:\My Documents"
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer