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
  BCC Script Code fails - no mail sent to BCC address ldickson@wcnet.org 8 7,316 10-15-2018 06:49 AM
Last Post: theresadelcas
  ways to use conditional statements in the script. spadekevin 0 181 07-19-2018 10:27 AM
Last Post: spadekevin
  Documentation for Script variables Rayancaleb 3 988 07-07-2018 01:29 AM
Last Post: juliajohn
  monger: php script not executed haube 7 5,046 06-27-2018 05:59 AM
Last Post: daisyfaith
  Reloading a script kevinmanuel 0 229 04-14-2018 02:19 AM
Last Post: kevinmanuel
  PHP SCRIPT - ERROR - Name cannot begin with the '' character. 0 1,971 Today 05:36 PM
Last Post:
  Getting error on PHP SCRIPT 0 1,725 Today 05:36 PM
Last Post:

Forum Jump: