I was working on the Backup and Restore example in Siddaway’s book and I’ve run into a snag in one of the variables I attempt to set.
On my DC, I have successfully mapped a drive (R:) to another backup server but when I attmept to set the variable:
$backupLocation = New-WBBackupTarget -VolumePath R:
I get the following error:
New-WBBackupTarget : The volume R: is not found.
Is this a Drive env issue? Because I can change to the R: drive in a regular cmd prompt (but cannot in a PS ISE console pane).