AsBuiltReport / AsBuiltReport.VMware.vSphere

Repository for AsBuiltReport VMware vSphere module
https://www.asbuiltreport.com
MIT License
112 stars 39 forks source link

Asbuilt for vSphere errors stops running #110

Closed JeremyHaynes-devguy closed 1 year ago

JeremyHaynes-devguy commented 1 year ago

Describe the bug This is the error (I removed the servername) New-AsBuiltReport : The variable '$Images' cannot be retrieved because it has not been set. At line:1 char:1

Steps to reproduce the behavior: Running New-AsBuiltReport against Vsphere

Expected behavior I expected the report to be generated

Screenshots If applicable, add screenshots to help explain your problem.

System (please provide the following information about the system from which you are trying to generate a report):

1.3.0 AsBuiltReport.Core

1.3.3.1 AsBuiltReport.VMware.vSphere

Additional context Add any other context about the problem here.

rebelinux commented 1 year ago

Could you do a test by disabling the generation of the cover page image?

Step 1: Generate a ReportConfig

New-AsBuiltReportConfig -Report VMware.vSphere -FolderPath -Filename

Step 2: Set ShowCoverPageImage to false

image

Step 3: Run the report using the new configuration file.

New-AsBuiltReport -Report VMware.vSphere -Target vcenter.pharmax.local -Username 'administrator@vsphere.local' -Password 'P@ssw0rd' -Format Html,Word -OutputFolderPath 'C:\Users\Jon\Documents' -ReportConfigFilePath 'C:\Users\Jon\AsBuiltReport\AsBuiltReport.VMware.vSphere.json' -Verbose

Documentation:

https://github.com/AsBuiltReport/AsBuiltReport.VMware.vSphere#pencil2-configuration

tpcarman commented 1 year ago

I will close this issue as there has been no further response. You may reopen this issue if required.