Avatar of A A
A A
 asked on

Create batch and powershell that ask for computer name and user profile to copy certain folders between old and new computers over network and show progress bar while copying and log file

Hello Team
I like to have a batch  cmd file or powershell script to  copy folders (documents,downloads,desktop,favorites) from user that has old computer  with old computer name to user  that will have new computer  with another computer name  both computers have different computer names and connected to same network as I would like to run this  script on  new computer of user so  it has to ask for computer name so I write old computer name of user and then ask about user folder so I select user profile from c users folder and after it copies documents ,downloads,desktop ,favorites from old computer of user to new computer of the user as i would like to acheive that in powershell and batch cmd  that shows progress bar while copying and log file.
PowershellWindows Batch

Avatar of undefined
Last Comment
Alex

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Alex

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
A A

ASKER
I need more info and comments from all experts please
SOLUTION
NVIT

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Alex

Not sure what else you need to be honest, if you can tell me where you're having an issue with this script I'll try to help further.

Regards
Alex
Your help has saved me hundreds of hours of internet surfing.
fblack61