AsBuiltReport / AsBuiltReport.DellEMC.VxRail

Repository for AsBuiltReport Dell EMC VxRail module
MIT License
17 stars 1 forks source link

Cannot bind argument to parameter 'Name' because it is an empty string #11

Open TheUnicornThatKicksYourAss opened 1 month ago

TheUnicornThatKicksYourAss commented 1 month ago

When running New-AsBuiltReport for DellEMC.VxRail i get the message "Cannot bind argument to parameter 'Name' because it is an empty string". Running New-AsBuiltReport for VMware.vSphere works fine.

New-AsBuiltReport -Report 'DellEMC.VxRail' -AsBuiltConfigPath 'C:\Users*\AsBuiltReport\HRZ_AsBuiltConfig.json' -ReportConfigPath 'C:\Users*\AsBuiltReport\HRZ_DellEMC.VxRail_AsBuiltReport.json' -Target '***' -Credential (Get-Credential) -Format 'Word','Html' -OutputFolderPath 'c:\temp' -TimeStamp -Verbose

PowerShell credential request Enter your credentials. User: @vsphere.local Password for user @vsphere.local: ***

VERBOSE: Loading As Built Report configuration from 'C:\AsBuiltReport\HRZ_AsBuiltConfig.json'. VERBOSE: Populating RepositorySourceLocation property for module AsBuiltReport.Core. VERBOSE: Loading module from path 'C:\Users*\Documents\PowerShell\Modules\AsBuiltReport.Core\1.4.0\AsBuiltReport.Core.psm1'. VERBOSE: Populating RepositorySourceLocation property for module AsBuiltReport.DellEMC.VxRail. VERBOSE: Loading module from path 'C:\Users*\Documents\PowerShell\Modules\AsBuiltReport.DellEMC.VxRail\0.3.0\AsBuiltReport.DellEMC.VxRail.psm1'. VERBOSE: Loading AsBuiltReport.DellEMC.VxRail report configuration file from path 'C:\Users*\AsBuiltReport\HRZ_DellEMC.VxRail_AsBuiltReport.json'. VERBOSE: Setting report filename to 'Dell EMC VxRail As Built Report - 2024-08-07_09.13.48'. VERBOSE: Populating RepositorySourceLocation property for module AsBuiltReport.Core. VERBOSE: Loading module from path 'C:\Users*\Documents\PowerShell\Modules\AsBuiltReport.Core\1.4.0\AsBuiltReport.Core.psm1'. WARNING: [ 09:13:48:399 ] [ Module ] - AsBuiltReport.Core 1.4.0 is currently installed. VERBOSE: [ 09:13:49:058 ] [ Document ] - Document 'Dell EMC VxRail As Built Report - 2024-08-07_09.13.48' processing started. VERBOSE: [ 09:13:49:087 ] [ Document ] - Please wait while the DellEMC VxRail As Built Report is being generated. VERBOSE: [ 09:13:49:088 ] [ Document ] - Executing report style script from path 'C:\Users***\Documents\PowerShell\Modules\AsBuiltReport.Core\1.4.0\AsBuiltReport.Core.Style.ps1'. VERBOSE: [ 09:13:49:093 ] [ Document ] - Setting global document options. VERBOSE: [ 09:13:49:094 ] [ Document ] - Enabling section/heading numbering. VERBOSE: [ 09:13:49:095 ] [ Document ] - Setting default font(s) to 'Segoe Ui'. VERBOSE: [ 09:13:49:095 ] [ Document ] - Setting page top margin to '25,05'mm. VERBOSE: [ 09:13:49:096 ] [ Document ] - Setting page right margin to '25,05'mm. VERBOSE: [ 09:13:49:096 ] [ Document ] - Setting page bottom margin to '25,05'mm. VERBOSE: [ 09:13:49:097 ] [ Document ] - Setting page left margin to '25,05'mm. VERBOSE: [ 09:13:49:098 ] [ Document ] - Setting page size to 'A4'. VERBOSE: [ 09:13:49:098 ] [ Document ] - Setting page orientation to 'Portrait'. VERBOSE: [ 09:13:49:099 ] [ Document ] - Setting page height to '297'mm. VERBOSE: [ 09:13:49:100 ] [ Document ] - Setting page width to '210'mm. VERBOSE: [ 09:13:49:100 ] [ Document ] - Setting document style 'Title'. VERBOSE: [ 09:13:49:101 ] [ Document ] - Setting document style 'Title2'. VERBOSE: [ 09:13:49:102 ] [ Document ] - Setting document style 'Title3'. VERBOSE: [ 09:13:49:103 ] [ Document ] - Setting document style 'Heading1'. VERBOSE: [ 09:13:49:104 ] [ Document ] - Setting document style 'Heading2'. VERBOSE: [ 09:13:49:104 ] [ Document ] - Setting document style 'Heading3'. VERBOSE: [ 09:13:49:105 ] [ Document ] - Setting document style 'Heading4'. VERBOSE: [ 09:13:49:106 ] [ Document ] - Setting document style 'NOTOCHeading4'. VERBOSE: [ 09:13:49:107 ] [ Document ] - Setting document style 'Heading5'. VERBOSE: [ 09:13:49:108 ] [ Document ] - Setting document style 'NOTOCHeading5'. VERBOSE: [ 09:13:49:108 ] [ Document ] - Setting document style 'Heading6'. VERBOSE: [ 09:13:49:109 ] [ Document ] - Setting document style 'NOTOCHeading6'. VERBOSE: [ 09:13:49:110 ] [ Document ] - Setting document style 'NOTOCHeading7'. VERBOSE: [ 09:13:49:111 ] [ Document ] - Setting document style 'Normal'. VERBOSE: [ 09:13:49:113 ] [ Document ] - Setting document style 'Header'. VERBOSE: [ 09:13:49:113 ] [ Document ] - Setting document style 'Footer'. VERBOSE: [ 09:13:49:152 ] [ Document ] - Setting document style 'TOC'. VERBOSE: [ 09:13:49:154 ] [ Document ] - Setting document style 'TableDefaultHeading'. VERBOSE: [ 09:13:49:156 ] [ Document ] - Setting document style 'TableDefaultRow'. VERBOSE: [ 09:13:49:157 ] [ Document ] - Setting document style 'Critical'. VERBOSE: [ 09:13:49:158 ] [ Document ] - Setting document style 'Warning'. VERBOSE: [ 09:13:49:159 ] [ Document ] - Setting document style 'Info'. VERBOSE: [ 09:13:49:160 ] [ Document ] - Setting document style 'OK'. VERBOSE: [ 09:13:49:161 ] [ Document ] - Setting document style 'Caption'. VERBOSE: [ 09:13:49:162 ] [ Document ] - Setting table style 'TableDefault'. VERBOSE: [ 09:13:49:164 ] [ Document ] - Setting table style 'Borderless'. VERBOSE: [ 09:13:49:165 ] [ Document ] - Processing document header started. VERBOSE: [ 09:13:49:166 ] [ Document ] - Processing paragraph 'Dell EMC VxRail As Built Report - v1.0'. VERBOSE: [ 09:13:49:167 ] [ Document ] - Processing document header completed. VERBOSE: [ 09:13:49:168 ] [ Document ] - Processing document footer started. VERBOSE: [ 09:13:49:169 ] [ Document ] - Processing paragraph 'Page <!# PageNumber #!>'. VERBOSE: [ 09:13:49:170 ] [ Document ] - Processing document footer completed. VERBOSE: [ 09:13:49:171 ] [ Document ] - Processing blank line. VERBOSE: [ 09:13:49:172 ] [ Document ] - Processing image 'AsBuiltReport Logo'. VERBOSE: [ 09:13:49:178 ] [ Document ] - Processing blank line. VERBOSE: [ 09:13:49:179 ] [ Document ] - Processing paragraph 'Dell EMC VxRail As Built Report'. VERBOSE: [ 09:13:49:180 ] [ Document ] - Processing blank line. VERBOSE: [ 09:13:49:180 ] [ Document ] - Processing paragraph 'Justus-Liebig-Universität Gießen'. VERBOSE: [ 09:13:49:181 ] [ Document ] - Processing blank line. VERBOSE: [ 09:13:49:182 ] [ Document ] - Processing table 'Cover Page'. VERBOSE: [ 09:13:49:183 ] [ Document ] - Processing page break. VERBOSE: [ 09:13:49:184 ] [ Document ] - Processing table of contents 'Table of Contents'. VERBOSE: [ 09:13:49:184 ] [ Document ] - Processing page break. VERBOSE: [ 09:13:49:239 ] [ Document ] - Connecting to vCenter Server '***'. VERBOSE: [ 09:13:49:814 ] [ Document ] - Collecting VxRail Manager Information VERBOSE: [ 09:13:49:995 ] [ Document ] - Connecting to VxRail Manager VERBOSE: [ 09:13:49:996 ] [ Document ] - Performing API reference call to path /hosts VERBOSE: [ 09:13:49:998 ] [ Document ] - Performing API reference call to path /chassis VERBOSE: [ 09:13:49:999 ] [ Document ] - Performing API reference call to path /system/cluster-hosts New-AsBuiltReport: Cannot bind argument to parameter 'Name' because it is an empty string.