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.

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
  Documentation for Script variables Rayancaleb 5 1,708 12-28-2018 09:16 PM
Last Post: phamyen
  BCC Script Code fails - no mail sent to BCC address 8 8,255 10-15-2018 06:49 AM
Last Post: theresadelcas
  ways to use conditional statements in the script. spadekevin 0 409 07-19-2018 10:27 AM
Last Post: spadekevin
  monger: php script not executed haube 7 6,086 06-27-2018 05:59 AM
Last Post: daisyfaith
  Reloading a script kevinmanuel 0 461 04-14-2018 02:19 AM
Last Post: kevinmanuel
  PHP SCRIPT - ERROR - Name cannot begin with the '' character. 0 2,076 Today 03:40 AM
Last Post:
  Getting error on PHP SCRIPT 0 1,828 Today 03:40 AM
Last Post:

Forum Jump: