Get-HTMLContentDataTable Cannot bind .. empty collection during compiling report
Hi, The report looks great. I ran into issues during the compiling report phase. Can you look into this issue?:
Working on Dashboard Report... Done! Working on Groups Report... Done! Working on Organizational Units Report... Done! Working on Users Report... Done! Working on Group Policy Report... Done! Working on Computers Report... Done! Compiling Report... Get-HTMLContentDataTable : Cannot bind argument to parameter 'ArrayOfObjects' because it is an empty collection. At C:\Users\adminaspect\Documents\AD-reportMdG.ps1:1401 char:45
- ... alReport.Add($(Get-HTMLContentDataTable $NewCreatedUsersTable -HideFo ...
-
~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidData: (:) [Get-HTMLContentDataTable], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyCollectionNotAllowed,Get-HTMLContentDataTable
Get-HTMLContentDataTable : Cannot bind argument to parameter 'ArrayOfObjects' because it is an empty collection. At C:\Users\adminaspect\Documents\AD-reportMdG.ps1:1498 char:45
- ... alReport.Add($(Get-HTMLContentDataTable $NewCreatedUsersTable -HideFo ...
-
~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidData: (:) [Get-HTMLContentDataTable], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyCollectionNotAllowed,Get-HTMLContentDataTable
Save-HTMLReport : Cannot bind argument to parameter 'ReportContent' because it is null. At C:\Users\adminaspect\Documents\AD-reportMdG.ps1:1545 char:32
- Save-HTMLReport -ReportContent $FinalReport -ShowReport -ReportName $ ...
-
~~~~~~~~~~~~- CategoryInfo : InvalidData: (:) [Save-HTMLReport], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Save-HTMLReport
Hello First of all, many thanks for this script. Awesome job ! Fyi, I'm running into the same issue above with a brand new domain controller based on Server 2016 Best
I'm having the same issue
Same issue here. I rolled out a brand new Windows Server 2016, installed ADDS and also installed a Windows 10 VM in Azure. Windows 10 VM is joined to the domain, but when I ran the Report, I got the same error message and the report wasn't generated.