Comments (6)
hi Oli,
Yes, sir. this solved my issue!
Thank you very much. I hope this helps as well other people who use Auto Deploy.
BR ./trim
from asbuiltreport.vmware.vsphere.
Awesome work @orb71. Thank you. I've found a few other issues which I have pushed to the dev
branch. Expect this fix there shortly too.
from asbuiltreport.vmware.vsphere.
Hi Trim,
Do you mind posting the following output from your console please ?
esxcli system boot device get
esxcli system settings advanced list -o /UserVars/ImageCachedSystem
esxcli storage core device list
Regards,
Oli
from asbuiltreport.vmware.vsphere.
Hi Oli,
Thank you for coming back to me.
Unfortunately i cant send you the core device list (more then 100LUNs).
It would be amazing just to skip if something fails like the issue i had or similar and not stop the hole script.
root@xxxx:~] esxcli system boot device get
Boot Filesystem UUID:
Boot NIC: xx-xx-xx-xx-xx-xx-xx
Stateless Boot NIC:
[root@xxxx:~] esxcli system settings advanced list -o /UserVars/ImageCachedSystem
Unable to find option ImageCachedSystem
BR ./trim
from asbuiltreport.vmware.vsphere.
Ouch 100!
We won't need it since it happens outside the function. You need to edit Invoke-AsBuiltReport.VMware.vSphere.ps1 in your module directory
Line 372 : $bootSize = "N/A" and replace it by $bootSize = 0 for the quick and dirty fix.
The problem ia found at line 1868, we have a missing a value type check.
'Size' = Switch ($ESXiBootDevice.SizeMB){
'N/A' { 'N/A' }
default{"$([math]::Round($ESXiBootDevice.SizeMB / 1024, 2)) GB"}
}
Hope it helps!
Oli
from asbuiltreport.vmware.vsphere.
@tpcarman , glad to help and I don't mind submiting pull request. Do you want me to submit a bug report for the Get-PCIDeviceDetail function as well?
from asbuiltreport.vmware.vsphere.
Related Issues (20)
- SDRS VM Overrides shows empty "Virtual Machine" column while Cluster filtering is used
- Record the TPM State of each node and if encryption enabled, backup the keys of each node into the report HOT 4
- vCenter user privileges doesn't handle groups
- Exception calling "Substring" with "1" argument(s) HOT 6
- The underlying connection was closed: A connection that was expected to be kept alive was closed by the server HOT 2
- Issues with reporting of PCI Devices with VMware ESXi 8.0 hosts HOT 1
- Issues with reporting of vCenter Server Alarms in vSphere 8.0
- Missing vSAN information when running against vSphere 8.0 environment HOT 1
- IP address Report HOT 1
- Error in Image Profile section HOT 2
- Asbuilt for vSphere errors stops running HOT 2
- vSphere 8.0 U1c Build 22088981 - New-AsBuiltReport : Cannot bind argument to parameter 'Rows' because it is an empty collection. HOT 29
- vSAN 8 ESA - "VsanDiskGroup" is empty HOT 10
- Cannot Bind Argument to Parameter "Rows" because its is empty collection following PCI devices. HOT 1
- vSphere 8.0.2-22617221 - New-AsBuiltReport : Cannot bind argument to parameter 'Rows' because it is an empty collection. HOT 8
- Host Network Section - NSX-T virtual switch portgroup labels are erroneously associated with a VMKernel port HOT 2
- New-AsBuiltReport : Cannot bind argument to parameter 'Rows' because it is an empty collection. HOT 2
- option to remove "roles" from report
- Machine SSL certificate information not working using the vcenter IP address as -Target
- SDRS VM Overrides display duplicate VMs if the vCenter is connected by IP and FQDN
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asbuiltreport.vmware.vsphere.