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
  ways to use conditional statements in the script. spadekevin 0 71 07-19-2018 10:27 AM
Last Post: spadekevin
  Documentation for Script variables Rayancaleb 3 685 07-07-2018 01:29 AM
Last Post: juliajohn
  BCC Script Code fails - no mail sent to BCC address ldickson@wcnet.org 3 6,904 06-27-2018 06:44 AM
Last Post: annajulia
  monger: php script not executed haube 7 4,618 06-27-2018 05:59 AM
Last Post: daisyfaith
  Reloading a script kevinmanuel 0 136 04-14-2018 02:19 AM
Last Post: kevinmanuel
  PHP SCRIPT - ERROR - Name cannot begin with the '' character. 0 1,930 Today 05:59 PM
Last Post:
  Getting error on PHP SCRIPT 0 1,682 Today 05:59 PM
Last Post:

Forum Jump: