Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot find path to Veeam.Backup.PowerShell.dll because its on another driveletter #179

Closed
1 task done
jstiops opened this issue Oct 29, 2024 · 2 comments · Fixed by #183
Closed
1 task done
Assignees
Labels
bug Something isn't working

Comments

@jstiops
Copy link

jstiops commented Oct 29, 2024

Veeam Backup & Replication version

12.2

Bug description

getting an error when running the new-asbuiltreport command.
VERBOSE: [ 16:13:49:174 ] [ Document ] - Backup Copy Jobs InfoLevel set at 1.
Get-Item : Cannot find path 'C:\Program Files\Veeam\Backup and Replication\Console\Veeam.Backup.PowerShell.dll' because
it does not exist.
At C:\Program Files\WindowsPowerShell\Modules\AsBuiltReport.Veeam.VBR\Src\Public\Invoke-AsBuiltReport.Veeam.VBR.ps1:443
char:69

  • ... ge 1 -and ((Get-Item "C:\Program Files\Veeam\Backup and Replication\C ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\Program File....PowerShell.dll:String) [Get-Item], ItemNotFoundExcep
      tion
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand

VERBOSE: [ 16:13:49:252 ] [ Document ] - Processing section 'Jobs Summary' completed.
Saved 'AsBuiltReport.Veeam.VBR.png' diagram to 'C:\Utils\AsBuiltReport-Veeam'.

Command-line input

New-AsBuiltReport -Report Veeam.VBR -Target veeamserverhostname -Format Text,Html,Word -OutputFolderPath 'C:\Utils\AsBuiltReport-Veeam\output' -ReportConfigFilePath 'C:\Utils\AsBuiltReport-Veeam\VeeamAsBuiltconfig.json' -Verbose -timestamp

Steps to reproduce

i'm runnging all the latest versions of the modules required and the AsBultReport.Veeam.VBR module itself.
Running it against Veeam B&R 12.2.0.334 on windows server 2022, command locally started on the VBR server itself.
Does not seem to find Veeam.Backup.PowerShell.dll , probably because the software is not installed on the c-drive.

Expected behaviour

no error

Screenshots

No response

Operating System

Windows Server 2022

PowerShell Version

Name Value


PSVersion 5.1.20348.2400
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.2400
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

PowerShell Modules

Name Version


AsBuiltReport.Core 1.4.0
AsBuiltReport.Veeam.VBR 0.8.10
PScribo 0.10.0

Additional Context

No response

Before submitting

@jstiops jstiops added the bug Something isn't working label Oct 29, 2024
@rebelinux
Copy link
Collaborator

Can you show me the current install path?

rebelinux added a commit to rebelinux/AsBuiltReport.Veeam.VBR that referenced this issue Oct 30, 2024
@rebelinux rebelinux mentioned this issue Oct 31, 2024
7 tasks
@rebelinux rebelinux mentioned this issue Oct 31, 2024
7 tasks
@jstiops
Copy link
Author

jstiops commented Oct 31, 2024

tried it with the new version, no error. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants