PowerShell script exchange
jcolonfzenpr
Veeam Vanguard
Posts: 41
Liked: 31 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by jcolonfzenpr »

I have seen this delay more in the tape medium "Get-VBRTapeMedium" but only if you have a large amount of tapes.

I have also noticed it when filtering the content by library or mediapool.

Code: Select all

Get-VBRTapeMedium -MediaPool $mediaID
Jonathan Colon
https://techmyth.blog/
jcolonfzenpr
Veeam Vanguard
Posts: 41
Liked: 31 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by jcolonfzenpr »

Hello,

I have released version 0.3.0 to Powershell Galley to make the installation process easier.

As always any bugs or errors you find please use the github issue module to report them.

Best regards,

https://github.com/AsBuiltReport/AsBuil ... .Veeam.VBR

jcolonfzenpr wrote: Dec 30, 2021 1:40 am Hello,

For years now I have done a lot of VEAAM implementations and so I have been working on a report for Veeam Backup & Replication that uses the Veeam 11 Powershell modules. The report uses the AsBuiltReport project framework created by "Tim Carman" @tpcarman. The report has support for checking the health status of various components within VEEAM and the AsBuiltReport framework also provides the ability to configure the report to be sent via email. By no means is this report intended to compete with any Veeam tool, I just wanted to develop a free and open source implementation report.

The report is in an initial state but I would like to know if you have any ideas or if anyone would like to contribute to the project.

Here are the links and a sample report.

Project Page:

https://github.com/rebelinux/AsBuiltReport.Veeam.VBR

Sample Report:

https://technomyth.zenprsolutions.net/w ... eport.html

Ideas or suggestions are welcome!

Happy Holidays!
Jonathan Colon
https://techmyth.blog/
bcravn
Service Provider
Posts: 11
Liked: 1 time
Joined: Feb 02, 2022 9:54 am
Full Name: Bjarke Ravn-Jonsen
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by bcravn » 1 person likes this post

Nice report, it would be great if it could include some configuration about (copy/)jobs and included VMs !
Zew
Veteran
Posts: 365
Liked: 80 times
Joined: Mar 17, 2015 9:50 pm
Full Name: Aemilianus Kehler
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by Zew » 1 person likes this post

Do I have to check the source github for updates, or will you post here when the community edition gets support?

Thank you again for this, really amazing stuff.
jcolonfzenpr
Veeam Vanguard
Posts: 41
Liked: 31 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by jcolonfzenpr » 3 people like this post

Hello,

Here is a preview of version 0.4.0 which now includes information about the configuration of VMware and Hyper-V backup jobs. I still need to extend the information about the other types of backup jobs (Tape, SureBackup, etc...) but everything will be done one day at a time...

https://technomyth.zenprsolutions.net/w ... port.html

Hasta luego Amigos!
jcolonfzenpr wrote: Dec 30, 2021 1:40 am Hello,

For years now I have done a lot of VEAAM implementations and so I have been working on a report for Veeam Backup & Replication that uses the Veeam 11 Powershell modules. The report uses the AsBuiltReport project framework created by "Tim Carman" @tpcarman. The report has support for checking the health status of various components within VEEAM and the AsBuiltReport framework also provides the ability to configure the report to be sent via email. By no means is this report intended to compete with any Veeam tool, I just wanted to develop a free and open source implementation report.

The report is in an initial state but I would like to know if you have any ideas or if anyone would like to contribute to the project.

Here are the links and a sample report.

Project Page:

https://github.com/rebelinux/AsBuiltReport.Veeam.VBR

Sample Report:

https://technomyth.zenprsolutions.net/w ... eport.html

Ideas or suggestions are welcome!

Happy Holidays!
Jonathan Colon
https://techmyth.blog/
bcravn
Service Provider
Posts: 11
Liked: 1 time
Joined: Feb 02, 2022 9:54 am
Full Name: Bjarke Ravn-Jonsen
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by bcravn »

Hi Jonathan !

I just updated to the latest version(0.5.5), on a server that used to run 0.5.4.
When I try to run it now, i'm getting a failure:

Code: Select all

----------------------------------------------
 <       As Built Report Configuration      >
----------------------------------------------
Would you like to save the As Built Report configuration file? (y/n): n
Please wait while the Veeam VBR As Built Report is being generated.
WARNING: [ 12:30:06:155 ] [ Document ] - Please refer to the AsBuiltReport.Veeam.VBR github website for more detailed
information about this project.
WARNING: [ 12:30:06:155 ] [ Document ] - Do not forget to update your report configuration file after each new version
release.
WARNING: [ 12:30:06:155 ] [ Document ] - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR
WARNING: [ 12:30:06:155 ] [ Document ] - Issues or bug reporting:
https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues
WARNING: [ 12:30:06:171 ] [ Document ] - Installed AsBuiltReport.Veeam.VBR Version: System.Object[]
New-AsBuiltReport : Could not compare "0.5.5" to "0.5.5 0.5.4". Error: "Cannot convert the "System.Object[]" value of t
ype "System.Object[]" to type "System.Version"."
At line:1 char:2
+  New-AsBuiltReport -Report Veeam.VBR -Target 127.0.0.1 -Username 'sys ...
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport
is it something related to a native powershell issue, or something with the module ?
jcolonfzenpr
Veeam Vanguard
Posts: 41
Liked: 31 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by jcolonfzenpr » 1 person likes this post

Hello,

It seems to be a bug when more than one version of the report are installed. The issue was reported on github and I hope it will be fixed in v0.6.0:

https://github.com/AsBuiltReport/AsBuil ... /issues/70

You can fix it by removing the 0.5.4 version

Code: Select all

uninstall-Module -Name AsBuiltReport.Veeam.VBR -RequiredVersion 0.5.4
Thanks for bringing the issue to my attention.
Jonathan Colon
https://techmyth.blog/
Stabz
Veeam Legend
Posts: 115
Liked: 7 times
Joined: Apr 07, 2017 7:40 am
Full Name: Philippe DUPUIS
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by Stabz »

Hello guys,

I playing with your amazing tools, but I get some error messages during the script execution.
The script is executed directly on the VBR server. The VBR isn't in a domain.

Code: Select all

"New-CimSession : WinRM ne peut pas traiter la demande. L’erreur suivante avec le code d’erreur 0x8009030e s’est produite lors de l’utilisation de l’authentification par
négociation: Une ouverture de session spécifiée n’existe pas. Elle est peut-être déjà terminée.
 Cela se produit généralement lorsque les informations d’identification ne sont pas valides sur le serveur cible ou lorsque l’identité du serveur n’a pas pu être
vérifiée.  Si l’identité du serveur est approuvée, ajoutez le nom de serveur à la liste TrustedHosts et réeffectuez la demande. Utilisez winrm.cmd pour configurer la
liste TrustedHosts. Notez que les ordinateurs qui figurent dans la liste TrustedHosts peuvent ne pas avoir été authentifiés. Pour plus d’informations sur la configuration
de la liste TrustedHosts, exécutez la commande suivante: winrm help config.
Au caractère C:\Users\Administrateur\Documents\WindowsPowerShell\Modules\AsBuiltReport.Veeam.VBR\0.6.0\Src\Private\Get-AbrVbrBackupServerInfo.ps1:35 : 43
+ ... imSession = New-CimSession $BackupServer.Name -Credential $Credential ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-CimSession], CimException
    + FullyQualifiedErrorId : HRESULT 0x80070520,Microsoft.Management.Infrastructure.CimCmdlets.NewCimSessionCommand
    + PSComputerName        : "COMPUTER"
[/u]

I get a report but some informations are wrong and the display for graphics is bugged
jcolonfzenpr
Veeam Vanguard
Posts: 41
Liked: 31 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by jcolonfzenpr »

Buenos días,

Could you validate if changing the PSDefaultAuthentication option to Negotiate resolves the issue you are reporting?
https://github.com/AsBuiltReport/AsBuil ... BR#options

Image

To change this value it is required to generate a configuration file using the New-AsBuiltReportConfig cmdlet.
https://github.com/AsBuiltReport/AsBuil ... figuration

After you have the configuration file do not forget to use the -ReportConfigFilePath option to specify the location of the file when using the New-AsBuiltReport cmdlet.

Example:
New-AsBuiltReport -Report Veeam.VBR -Target veeam-vbr.pharmax.local -Username 'Domain\veeam_admin' -Password 'P@ssw0rd' -Format Text,Html,Word -OutputFolderPath 'C:\Users\Jon\Documents' -ReportConfigFilePath 'C:\Users\Jon\AsBuiltReport\AsBuiltReport.Veeam.VBR.json'

Hope this helps!
Jonathan Colon
https://techmyth.blog/
albertwt
Veteran
Posts: 880
Liked: 47 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by albertwt »

Wow, this is cool :-)
Thank you for sharing it here, Senor Jonathan.
--
/* Veeam software enthusiast user & supporter ! */
vsingh
Lurker
Posts: 1
Liked: never
Joined: Jun 07, 2023 3:57 am
Full Name: Varinder Singh
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by vsingh »

Hello all,
I am trying to run this same script now and getting the same issues. I tried to access that like for the detailed steps, but seems like it doesn't exist anymore.

So I do have the Modules copied over to this machine, and this is the command I am running:

"
$Creds = Get-Credential

New-AsBuiltReport -Report Veeam.VBR -Target xx.xx.xx.xx -Credential $Creds -Format Html,Text -OutputFolderPath 'C:\temp\VBRScript' -Timestamp
"

And this is the error I am getting:
"
New-AsBuiltReport : Cannot validate argument on parameter 'Report'. Invalid report type specified. Please use one of the following []
At line:1 char:27
+ New-AsBuiltReport -Report Veeam.VBR -Target xx.xx.xx.xx -Username 'xxx...
+ ~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [New-AsBuiltReport], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,New-AsBuiltReport
"


Any help please?

Regards,
jcolonfzenpr
Veeam Vanguard
Posts: 41
Liked: 31 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by jcolonfzenpr »

Hello,

I recommend you to delete the file you downloaded and install it through PowershellGallery.

Code: Select all

Install-Module -Name AsBuiltReport.Veeam.VBR 
You can also follow the link below to perform the automatic installation which is easier to do.

https://techmyth.info/posts/homelab-vee ... iltreport/

Regards,
Jonathan Colon
https://techmyth.blog/
Zew
Veteran
Posts: 365
Liked: 80 times
Joined: Mar 17, 2015 9:50 pm
Full Name: Aemilianus Kehler
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by Zew » 1 person likes this post

Is community edition supported yet?
jcolonfzenpr
Veeam Vanguard
Posts: 41
Liked: 31 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by jcolonfzenpr »

Unfortunately I do not have an environment that has the community version for testing. If you are interested you can test with the most recent version of the report and let us know the results.

Report the issues here:
https://github.com/AsBuiltReport/AsBuil ... VBR/issues
Jonathan Colon
https://techmyth.blog/
marco.luvisi
Service Provider
Posts: 3
Liked: 1 time
Joined: May 23, 2022 12:19 pm
Full Name: Marco Luvisi
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by marco.luvisi » 1 person likes this post

Hi All,
I had the same problem to connection errors and solved it by running the PowerShell console from the Veeam Console.
Veeam Leader User Group Italy
fbroussey
Influencer
Posts: 21
Liked: 1 time
Joined: Jan 25, 2011 2:08 pm
Full Name: Frederic BROUSSEY
Contact:

AsBuiltReport.Veeam.VBR Report

Post by fbroussey »

Hi All,
There is Something I misunderstand regarding config file. I get this error :

PS C:\Scripts> New-AsBuiltReport -Report Veeam.VBR -Target CRBWP001BKP001 -Credential $Creds -Format Html,Word -OutputFolderPath 'C:\Scripts\ASBuiltReport\VeeamReports' -EnableHealthCheck -SendEmail -Time
stamp -AsBuiltConfigfilePath 'C:\Scripts\ASBuiltReport\Config\ASBuiltReportConfig.json' -AsBuiltConfigPath 'C:\Scripts\ASBuiltReport\Config\ASBuiltConfig.json'
New-AsBuiltReport : Cannot bind parameter because parameter 'AsBuiltConfigFilePath' is specified more than once. To provide multiple values to parameters that can accept multiple values, use the array
syntax. For example, "-parameter value1,value2,value3".
At line:1 char:278
+ ... iltReport\Config\ASBuiltReportConfig.json' -AsBuiltConfigPath 'C:\Scr ...
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-AsBuiltReport], ParameterBindingException
+ FullyQualifiedErrorId : ParameterAlreadyBound,New-AsBuiltReport

PS C:\Scripts>


SHould I have to merge file generated with commande "New-AsBuiltConfig" with file generated with " New-AsBuiltReportConfig" ? And use only -AsBuiltConfigfilePath in command "New-AsBuiltReport" in order to generate report?

Thanks for your answer
jcolonfzenpr
Veeam Vanguard
Posts: 41
Liked: 31 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by jcolonfzenpr »

There is a good post on the communuty site about running these report:

https://community.veeam.com/automation- ... ation-5522
Jonathan Colon
https://techmyth.blog/
fbroussey
Influencer
Posts: 21
Liked: 1 time
Joined: Jan 25, 2011 2:08 pm
Full Name: Frederic BROUSSEY
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by fbroussey »

Hi all,
I already use ASBuiltReport for VBR and VMWARE but when I try to use ASBuiltReport for VEEAM 365, I have the following error running this command:

Code: Select all

PS C:\Scripts\Production\ASBuiltReport> New-AsBuiltReport -Report Veeam.VB365 -Target MYSERVER.mydomain.fr -username "MYSERVER\asbreport"  -Password "mypass" -Format html,Word  -OutputFolderPath 'C:\Scripts\Production\ASBuiltReport\Veeam365Reports' -AsBuiltConfigPath C:\Scripts\Production\ASBuiltReport\ConfigFile\AsBuiltReport.json -ReportConfigFilePath C:\Scripts\Production\ASBuiltReport\ConfigReportFile\AsBuiltReport.Veeam.VB365.json -Timestamp -Verbose
Here the error:

Code: Select all

VERBOSE: [ 10:29:20:966 ] [ Document ] - Processing page break.
WARNING: [ 10:29:20:970 ] [ Document ] - Please refer to the AsBuiltReport.Veeam.VB365 github website for more detailed information about this project
WARNING: [ 10:29:20:974 ] [ Document ] - Do not forget to update your report configuration file after each new version release.
WARNING: [ 10:29:20:976 ] [ Document ] - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VB365
WARNING: [ 10:29:20:977 ] [ Document ] - Issues or bug reporting: https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VB365/issues
WARNING: [ 10:29:21:068 ] [ Document ] - AsBuiltReport.Veeam.VB365 0.2.0 is currently installed.
VERBOSE: [ 10:29:21:854 ] [ Document ] - Trying to import Veeam VB365 modules.
VERBOSE: [ 10:29:22:022 ] [ Document ] - Identifying Veeam VB365 Powershell module version.
VERBOSE: [ 10:29:22:027 ] [ Document ] - Using Veeam VB365 Powershell module version 6.
VERBOSE: [ 10:29:22:183 ] [ Document ] - Establishing initial connection to Backup Server for Microsoft 365: MYSERVER.mydomain.fr.
VERBOSE: [ 10:29:22:188 ] [ Document ] - Connecting to MYSERVER.mydomain.fr with MYSERVER\asbreport credentials
WARNING: [ 10:29:22:213 ] [ Document ] - The server has rejected the client credentials.
New-AsBuiltReport : Failed to connect to Veeam Backup Server Host MYSERVER.mydomain.fr:9191 with username MYSERVER\asbreport
At line:1 char:1
+ New-AsBuiltReport -Report Veeam.VB365 -Target MYSERVER.mondomain.fr. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport

PS C:\Scripts\Production\ASBuiltReport>
I tried with another account but same result. I double checked the password...
I also tried to add this line ""PSDefaultAuthentication": "Negotiate"" in the Options section ,in case of, because my server is in a Workgroup and I compare with the ReportConfigFile I use for VeeamVBR.
Thanks for your help
fbroussey
Influencer
Posts: 21
Liked: 1 time
Joined: Jan 25, 2011 2:08 pm
Full Name: Frederic BROUSSEY
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by fbroussey »

OK . I found that if I use 127.0.0.1 in place of fqdn , it works !!!
fbroussey
Influencer
Posts: 21
Liked: 1 time
Joined: Jan 25, 2011 2:08 pm
Full Name: Frederic BROUSSEY
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by fbroussey »

fbroussey wrote: Feb 27, 2024 9:46 am Hi all,
I already use ASBuiltReport for VBR and VMWARE but when I try to use ASBuiltReport for VEEAM 365, I have the following error running this command:

Code: Select all

PS C:\Scripts\Production\ASBuiltReport> New-AsBuiltReport -Report Veeam.VB365 -Target MYSERVER.mydomain.fr -username "MYSERVER\asbreport"  -Password "mypass" -Format html,Word  -OutputFolderPath 'C:\Scripts\Production\ASBuiltReport\Veeam365Reports' -AsBuiltConfigPath C:\Scripts\Production\ASBuiltReport\ConfigFile\AsBuiltReport.json -ReportConfigFilePath C:\Scripts\Production\ASBuiltReport\ConfigReportFile\AsBuiltReport.Veeam.VB365.json -Timestamp -Verbose
Here the error:

Code: Select all

VERBOSE: [ 10:29:20:966 ] [ Document ] - Processing page break.
WARNING: [ 10:29:20:970 ] [ Document ] - Please refer to the AsBuiltReport.Veeam.VB365 github website for more detailed information about this project
WARNING: [ 10:29:20:974 ] [ Document ] - Do not forget to update your report configuration file after each new version release.
WARNING: [ 10:29:20:976 ] [ Document ] - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VB365
WARNING: [ 10:29:20:977 ] [ Document ] - Issues or bug reporting: https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VB365/issues
WARNING: [ 10:29:21:068 ] [ Document ] - AsBuiltReport.Veeam.VB365 0.2.0 is currently installed.
VERBOSE: [ 10:29:21:854 ] [ Document ] - Trying to import Veeam VB365 modules.
VERBOSE: [ 10:29:22:022 ] [ Document ] - Identifying Veeam VB365 Powershell module version.
VERBOSE: [ 10:29:22:027 ] [ Document ] - Using Veeam VB365 Powershell module version 6.
VERBOSE: [ 10:29:22:183 ] [ Document ] - Establishing initial connection to Backup Server for Microsoft 365: MYSERVER.mydomain.fr.
VERBOSE: [ 10:29:22:188 ] [ Document ] - Connecting to MYSERVER.mydomain.fr with MYSERVER\asbreport credentials
WARNING: [ 10:29:22:213 ] [ Document ] - The server has rejected the client credentials.
New-AsBuiltReport : Failed to connect to Veeam Backup Server Host MYSERVER.mydomain.fr:9191 with username MYSERVER\asbreport
At line:1 char:1
+ New-AsBuiltReport -Report Veeam.VB365 -Target MYSERVER.mondomain.fr. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport

PS C:\Scripts\Production\ASBuiltReport>
I tried with another account but same result. I double checked the password...
I also tried to add this line ""PSDefaultAuthentication": "Negotiate"" in the Options section ,in case of, because my server is in a Workgroup and I compare with the ReportConfigFile I use for VeeamVBR.
Thanks for your help
OK . I found that if I use 127.0.0.1 in place of fqdn , it works !!!
fbroussey
Influencer
Posts: 21
Liked: 1 time
Joined: Jan 25, 2011 2:08 pm
Full Name: Frederic BROUSSEY
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by fbroussey » 1 person likes this post

Hi guys,

I'm facing another issue when I use the Veeam BR script.
It is unable to connect to the proxies.

Code: Select all

WARNING: [ 15:14:25:950 ] [ Document ] - Please refer to the AsBuiltReport.Veeam.VBR github website for more detailed
information about this project.
WARNING: [ 15:14:25:950 ] [ Document ] - Do not forget to update your report configuration file after each new version
release.
WARNING: [ 15:14:25:950 ] [ Document ] - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR
WARNING: [ 15:14:25:950 ] [ Document ] - Issues or bug reporting:
https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues
WARNING: [ 15:14:26:044 ] [ Document ] - AsBuiltReport.Veeam.VBR 0.8.4 is currently installed.
WARNING: [ 15:15:24:942 ] [ Document ] - Malware Detection Exclusions Section: Cannot bind argument to parameter 'Rows' because it is an empty collection.
WARNING: [ 15:16:58:173 ] [ Document ] - VM Exclusions Section: Cannot bind argument to parameter 'Rows' because it is an empty collection.
New-CimSession : Access is denied.
At C:\Program Files\WindowsPowerShell\Modules\AsBuiltReport.Veeam.VBR\0.8.4\Src\Private\Get-AbrVbrBackupProxy.ps1:127 char:63
+ ... imSession = New-CimSession $BackupProxy.Host.Name -Credential $Creden ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (:) [New-CimSession], CimException
    + FullyQualifiedErrorId : HRESULT 0x80070005,Microsoft.Management.Infrastructure.CimCmdlets.NewCimSessionCommand
    + PSComputerName        : VEEAMPROXY.mydomain.fr

WARNING: [ 15:16:58:892 ] [ Document ] - VMware Backup Proxies Hardware/Software Inventory: Unable to connect to VEEAMPROXY.mydomain.fr
WARNING: [ 15:16:58:923 ] [ Document ] - VMware Backup Proxies Services Status Section: Unable to connect to VEEAMPROXY.mydomain.fr
WARNING: [ 15:17:03:642 ] [ Document ] - Wan Accelerator MONSERVER.mydomain.fr IsWaHasAnyCaches() Item: Exception calling "IsWaHasAnyCaches" with "0" argument(s): "Failed to connect to WA service on host 'MONSERVER.mydomain.fr', port '6164'"
I tried to start the script in Veeam Backup and Replication Powershell toolkit but same result.

How can I manage with proxies in Workgroup as in the script, we only pass the local veeam server credentials.

Thanks a lot.
jcolonfzenpr
Veeam Vanguard
Posts: 41
Liked: 31 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by jcolonfzenpr »

Hi,

I don't think there is any way to be able to connect to a remote proxy in a workgroup environment in a secure way. The limitation is more on the powershell side than in the AsBuiltReport code.

There is an unsafe way to achieve the objective but I do not recommend it.

https://woshub.com/using-psremoting-win ... workgroup/

In the next version of the report I will be adding code to validate if backup server is in workgroup mode and disable the collection of proxy server hardware inventory.

I'm more interested in these error messages:

WARNING: [ 15:15:24:942 ] [ Document ] - Malware Detection Exclusions Section: Cannot bind argument to parameter 'Rows' because it is an empty collection.
WARNING: [ 15:16:58:173 ] [ Document ] - VM Exclusions Section: Cannot bind argument to parameter 'Rows' because it is an empty collection.

Thanks
Jonathan Colon
https://techmyth.blog/
jcolonfzenpr
Veeam Vanguard
Posts: 41
Liked: 31 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Re: AsBuiltReport.Veeam.VBR Report

Post by jcolonfzenpr »

fbroussey wrote: Feb 27, 2024 2:33 pm Hi guys,

I'm facing another issue when I use the Veeam BR script.
It is unable to connect to the proxies.

Code: Select all

WARNING: [ 15:14:25:950 ] [ Document ] - Please refer to the AsBuiltReport.Veeam.VBR github website for more detailed
information about this project.
WARNING: [ 15:14:25:950 ] [ Document ] - Do not forget to update your report configuration file after each new version
release.
WARNING: [ 15:14:25:950 ] [ Document ] - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR
WARNING: [ 15:14:25:950 ] [ Document ] - Issues or bug reporting:
https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues
WARNING: [ 15:14:26:044 ] [ Document ] - AsBuiltReport.Veeam.VBR 0.8.4 is currently installed.
WARNING: [ 15:15:24:942 ] [ Document ] - Malware Detection Exclusions Section: Cannot bind argument to parameter 'Rows' because it is an empty collection.
WARNING: [ 15:16:58:173 ] [ Document ] - VM Exclusions Section: Cannot bind argument to parameter 'Rows' because it is an empty collection.
New-CimSession : Access is denied.
At C:\Program Files\WindowsPowerShell\Modules\AsBuiltReport.Veeam.VBR\0.8.4\Src\Private\Get-AbrVbrBackupProxy.ps1:127 char:63
+ ... imSession = New-CimSession $BackupProxy.Host.Name -Credential $Creden ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (:) [New-CimSession], CimException
    + FullyQualifiedErrorId : HRESULT 0x80070005,Microsoft.Management.Infrastructure.CimCmdlets.NewCimSessionCommand
    + PSComputerName        : VEEAMPROXY.mydomain.fr

WARNING: [ 15:16:58:892 ] [ Document ] - VMware Backup Proxies Hardware/Software Inventory: Unable to connect to VEEAMPROXY.mydomain.fr
WARNING: [ 15:16:58:923 ] [ Document ] - VMware Backup Proxies Services Status Section: Unable to connect to VEEAMPROXY.mydomain.fr
WARNING: [ 15:17:03:642 ] [ Document ] - Wan Accelerator MONSERVER.mydomain.fr IsWaHasAnyCaches() Item: Exception calling "IsWaHasAnyCaches" with "0" argument(s): "Failed to connect to WA service on host 'MONSERVER.mydomain.fr', port '6164'"
I tried to start the script in Veeam Backup and Replication Powershell toolkit but same result.

How can I manage with proxies in Workgroup as in the script, we only pass the local veeam server credentials.

Thanks a lot.
I have created a github issue regarding the malware detection exclusions section

https://github.com/AsBuiltReport/AsBuil ... issues/145
Jonathan Colon
https://techmyth.blog/
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests