We are trying to write a script to automate the Restore of the most recent Windows Server Backup from a portable drive?
First part is to write a script to reload the backup catalog from the portable drive. What we have so far is:
$Bt = "\\?\Volume{58895c2e-a4f6-4143-8be0-83c858f516cc}\"
Restore-WBCatalog -BackupTarget $Bt -Force
But that doesn't work because it doesn't seem to like to volume label.
The second part is creating a command to start a WBAdmin restore using the latest latest volume to recover. This is where I could do with a few clues if anyone has any.
Thanks,
Nick