Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
create simple script to backup usb drive, reformat and then restore usb drive.
04-14-2018, 01:59 AM
Post: #1
create simple script to backup usb drive, reformat and then restore usb drive.
Hi,

Not sure if right place to ask this but I would like to create a script within powershell to backup a usb drive, then reformat the drive as a bootable device and then restore the backed up files to it. I am a newbie at scripting and using this as a tester. I am concerned about the wrong drive being formatted etc and would like to include a couple of user confirmations to ensure the correct drive is formatted. I've seen examples of scripts that recognise the usb drive but these seem to work on the premise that only one usb drive is connected. I want it so that if you have more than one usb drive connected you can select the correct drive.

For more Details:
Best video production company
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  monger: php script not executed haube 6 4,215 05-02-2018 05:49 AM
Last Post: neiljakson
  Reloading a script kevinmanuel 0 55 04-14-2018 02:19 AM
Last Post: kevinmanuel
  Documentation for Script variables Rayancaleb 1 427 02-01-2018 04:08 AM
Last Post: shapied
  BCC Script Code fails - no mail sent to BCC address ldickson@wcnet.org 2 6,537 01-12-2018 04:21 AM
Last Post: panistefanin
  PHP SCRIPT - ERROR - Name cannot begin with the '' character. 0 1,857 Today 10:39 AM
Last Post:
  Getting error on PHP SCRIPT 0 1,549 Today 10:39 AM
Last Post:

Forum Jump: