I am going to get the folder path of a backup job using Powershell of Veeam Backup and Replication v5.
However, even if it uses which command let, the folder path of a backup job is not found.
Get-VBRBackup -name "Name of your backup" | Select-Object {$_.dirPath}
However, I’m not sure whether the said script should work in case of version 5. Actually, you’d better upgrade to the latest product version, since version 5 isn’t supported any longer. Let alone, the variety of improvements and fixes that has been implemented since that time.
Since I don’t have access to v5 console, it’s rather hard to say what particular command should be used in order to get the path of backup repository. As an additional option, you can try the following script and see whether it makes any difference:
Glad to hear that my input was helpful. As to usage of obsolete version, please be aware that version 5 isn't supported any longer, as it's more than two years old. In other words, should anything happen, you will be by your own.