Skip to content

PowerShell script used to automatically re-mount volumes (such as those on rotating backup drives) to the same drive letter.

License

Notifications You must be signed in to change notification settings

Leapo/PS-DriveLetterKeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PS-DriveLetterKeeper

PowerShell script used to automatically re-mount volumes (such as those on rotating backup drives) to the same drive letter.

User Variables

All settings are stored in DriveLetterKeeper.xml

Target Drive Letter:
The drive letter you wish all disks in the set to maintain when mounted.
Example: DriveLetter = "v:"

Label Prefix:
The portion of the volume label shared by all disks in the set (This will be used to identify the volume to remount).
Example: LabelPrefix = "Backup"

Total Drives:
The total number of disks in the set:
Example: TotalDrives = "2"

Erase New Drive:
Erase the newly re-mounted volume:
Example: EraseNewDrv = "True"

Create Root Directory:
Create a folder by this name on the root of the re-mounted volume (Requires EraseDrive = "True"):
Example: MakeRootDir = "VeeamBackup"

Skip Prompts:
Execute script, with selected options, without prompting the user (unattended):
Example: SkipPrompts = "False"

Naming Convention

All volumes must be labeled with the text string defined in the Label Prefix variable, followed by a number (01 through 24). Example: Backup01, Backup02, ... , Backup12, etc.

Resources

List of resources used while building this script:

About

PowerShell script used to automatically re-mount volumes (such as those on rotating backup drives) to the same drive letter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published