AsBuiltReport / AsBuiltReport.VMware.vSphere

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

The variable '$pscriboDocument' cannot be retrieved because it has not been set. #93

Closed pythongitram closed 3 years ago

pythongitram commented 3 years ago

Getting an error when running this command [SP]> Invoke-AsBuiltReport.VMware.vSphere -Target xxxxxxxxxx -Credential xxxxxxxxxxxxxxx The variable '$pscriboDocument' cannot be retrieved because it has not been set. At line:51 char:9

Id : Level : 0 Number : Name : Type : PScribo.Section Style : Heading1 Tabs : 0 IsExcluded : False Sections : {} Orientation : Portrait IsSectionBreak : False IsSectionBreakEnd : False

tpcarman commented 3 years ago

@pythongitram please refer to the installation instructions within the README and the Examples provided to correctly execute the report.

You require the AsBuiltReport.Core PowerShell module, as well as the VMware.PowerCLI module in order to generate a report.

pythongitram commented 3 years ago

I have both AsBuiltReport.Core and VMware.PowerCLI module installed. Cannot we directly run this command invoke-asbui.....

tpcarman commented 3 years ago

As Built Report is modular in its design architecture. The AsBuiltReport.VMware.vSphere module works in conjunction with the AsBuiltReport.Core module. As previously mentioned, the documented examples and README provide clear instructions of how to generate a report. You cannot generate a report by simply running Invoke-AsBuiltReport.VMware.vSphere.ps1.