Hi
Veeam PowerShell module/Snapin comes with the VBR Console installation. So you can run AsBuildReport just on machines with VBR Console installed.
PS: therefore, if you want to update/upgrade Module, you need to update/upgrade VBR Console as well.
And additionally, perhaps there is a conflict with the PS Snap-in used up to VBR 10 and the PS Module used since VBR V11.
If your script was written in a time before V11 was available it searches probably for the snap-in and if you have a Veeam console V11 there is the module available only.
No, the AsBuiltReport is updated to use the Veeam PowerShell Module, but it is not found on your system. You need to install the VBR Console to get this PowerShell module available to the ABR platform.
If you want to understand the details, the specific issue you are running into is within the Get-AbrVbrRequiredModule function that is run to verify that you have VBR PowerShell installed.
There are explicit messages that are thrown based on if you need to install versus upgrade:
if ($ModuleVersion -eq ".") {
throw "$Name $Version or higher is required to run the Veeam VBR As Built Report. Install the Veeam Backup & Replication console that provide the required modules."
}
if ($ModuleVersion -lt $Version) {
throw "$Name $Version or higher is required to run the Veeam VBR As Built Report. Update the Veeam Backup & Replication console that provide the required modules."
}
Your error message from the screenshot means that the AsBuiltReport module cannot find the “Veeam.Backup.PowerShell” module of version “1.0” or higher on your system.
Nerd knob level details: line #55 here and then line #81 here.
Comment
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.