AsBuiltReport / AsBuiltReport.VMware.ESXi

Repository for AsBuiltReport VMware ESXi module
https://www.asbuiltreport.com
MIT License
37 stars 10 forks source link

Unable to generate report for vmware ESXi #1

Closed bitvijays closed 3 years ago

bitvijays commented 5 years ago

Hello Everyone,

Hope you are doing well. Thank you for creating AsBuiltReport!

Currently, I am trying to create documentation for VMware ESXi 6.5. I have installed VMware PowerCLI and AsBuiltReport.

When I am trying to run

New-AsBuiltReport VMware.vSphere -Target IPAddress -Credential (Get-Credential) -Format HTML,Word -OutputPath .

I am getting the error

New-AsBuiltReport : Cannot validate argument on parameter 'Id'. The argument is null or empty. Provide an argument
that is not null or empty, and then try the command again.
At line:1 char:1
+ New-AsBuiltReport -Report VMware.vSphere -Target IPAddress -Cred ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport

I can't find the parameter Id in

Get-Help New-AsBuiltReport -full

Any suggestions on how to resolve the above would be appreciated.

tpcarman commented 5 years ago

Hi @bitvijays

Is you target address vCenter or ESXi? The vSphere Report requires you to provide a target address for vCenter Server. I have started writing a report specifically for ESXi but have not completed it yet.

bitvijays commented 5 years ago

Hey @tpcarman . Thank you for the awesome work you have been doing! My Target address is VMware ESXi 6.5.

a) As you mentioned, you have started writing a report specifically for ESXi, is there any way you can share that? I would be happy to contribute to it.

b) Currently, my requirement is to map out the network on ESXi, like what Virtual switches are present, what are virtual ports in those vswitch. How many network adapters are present in a VM, what are the IP Address of those VM.

c) Is there a sample report available online? which might provide me an idea how the report would look like and what it would actually contain? (like the above requirement)?

Thanks again for your support :)

bitvijays commented 5 years ago

Hey @tpcarman . Apologies for the trouble, did you got a chance to have a look at the above questions?

tpcarman commented 5 years ago

Hi @bitvijays, Unfortunately I have not had any time to work on the VMware ESXi report. At the moment it is not a priority for me, however if you are interested in contributing to this report I would be happy to share the code I have so far. Please be aware that the code is not in working order at the moment and will require effort to get it working. Cheers, Tim

vlstang50 commented 3 years ago

I am also getting the same error, however I am running my report against a vcenter 7 server. Any way to fix this?