AsBuiltReport / AsBuiltReport.VMware.vSphere

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

Cannot bind argument to parameter 'Rows' because it is an empty collection. #79

Closed EloiseJory closed 4 years ago

EloiseJory commented 4 years ago

Report works fine on one 6.5 vcenter, but not the 6.5 or other 6.7's To Reproduce Steps to reproduce the behavior: New-AsBuiltReport -Report VMware.vSphere -Target 123.456.789 -Username vcheck -Password password -Format HTML,Word -OutputPath 'd:\Reports\'

Expected behavior Report should run with no errors.

Screenshots VERBOSE: [ 14:13:43:903 ] [ Document ] - Processing section 'Historical Statistics' completed. VERBOSE: [ 14:13:43:903 ] [ Document ] - Processing section 'Licensing' started. VERBOSE: [ 14:13:43:950 ] [ Document ] - Processing table 'Licensing'. New-AsBuiltReport : Cannot bind argument to parameter 'Rows' because it is an empty collection. At line:1 char:1

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

Major Minor Build Revision


5 1 14393 2969

Additional context Had this issue on previous builds, thought Id try again on latest build but seem to have hit the same licence row isssue

tpcarman commented 4 years ago

@EloiseJory The latest release for the VMware vSphere report is 1.1.3. Could you please update and report back.

Update-Module AsBuiltReport.VMware.vSphere

EloiseJory commented 4 years ago

@EloiseJory The latest release for the VMware vSphere report is 1.1.3. Could you please update and report back.

Update-Module AsBuiltReport.VMware.vSphere

hmm thought I had the latest build - whats the link ?

mattallford commented 4 years ago

@EloiseJory the Powershell code Tim posted above should upgrade you to the latest build from the PowerShell gallery.

Looks like a duplicate of #69

EloiseJory commented 4 years ago

I need a manual download sorry - security doensn't allow pshell to access the net. Probably why I'm struggling with version control...

tpcarman commented 4 years ago

If you need some assistance with how to install the modules offline, be sure to check the instructions here.

EloiseJory commented 4 years ago

I can install them ok, just need an up to date download source. Was downloading nupkg files from powershell gallery

tpcarman commented 4 years ago

I will close this issue. Please reopen if the problem still persists after updating to the latest release.

EloiseJory commented 4 years ago

updated to 1.1.3 and get the same error


< As Built Report Configuration >

Would you like to save the As Built configuration file? (y/n): n New-AsBuiltReport : Cannot bind argument to parameter 'Rows' because it is an empty collection. At line:1 char:1

PS H:> get-module AsBuiltReport.VMware.vSphere

ModuleType Version Name ExportedCommands


Script 1.1.3 AsBuiltReport.VMware.vSphere Invoke-AsBuiltReport.VMware.vSphere

PS H:>