Code Monkey home page Code Monkey logo

Comments (19)

tpcarman avatar tpcarman commented on June 12, 2024 1

Ha! Yeah not going to happen :)

from asbuiltreport.vmware.vsphere.

mattallford avatar mattallford commented on June 12, 2024

Hey Scott,

Thanks for checking out the project and letting us know of your issue.

Get-DrsClusterGroup is a PowerCLI cmdlet that looks like was introduced in 6.5.1 (https://blogs.vmware.com/PowerCLI/2017/06/spotlight-new-drs-cmdlets.html). Is there any chance you can upgrade PowerCLI? We're doing most of our testing on newer versions of the PowerCLI module these days (11.x).

Let us know how you get on.

Cheers, Matt.

from asbuiltreport.vmware.vsphere.

googleface avatar googleface commented on June 12, 2024

Hey Matt,

Thanks for the quick response.

Hold fast I'm a thick Yorkshireman, I'll update the module and come back to you, keen to get this working it looks awesome. :-)

from asbuiltreport.vmware.vsphere.

mattallford avatar mattallford commented on June 12, 2024

Haha, no worries Scott! I happened to be awake doing some study, so seeing this come in was a good oppotunity for procrastination :)

Do let us know how you get on with it, or if you run in to any other issues let us know and we'll help out.

Cheers, Matt.

from asbuiltreport.vmware.vsphere.

googleface avatar googleface commented on June 12, 2024

LOL, nowt wrong with a bout of procrastination, helps you get through the day.

Getting this error now.

image

Any ideas please?

Cheers
Scott

from asbuiltreport.vmware.vsphere.

mattallford avatar mattallford commented on June 12, 2024

What version of vSphere and what version of ESXi is that host that Get-EsxCli is failing on?

I've not come across that before, @tpcarman ?

from asbuiltreport.vmware.vsphere.

tpcarman avatar tpcarman commented on June 12, 2024

I've never seen that before either. Do you have anything out of the ordinary deployed in your environment, witness host or something?

from asbuiltreport.vmware.vsphere.

googleface avatar googleface commented on June 12, 2024

Hi Guys,

vSphere Version: 5.5.0 Build 4180647
ESXi: VMware ESX, 4.1.0, 582267 - (Therein lies the problem?)

Thx
Scott

from asbuiltreport.vmware.vsphere.

googleface avatar googleface commented on June 12, 2024

Is there anyway to bypass non supported hosts?

from asbuiltreport.vmware.vsphere.

tpcarman avatar tpcarman commented on June 12, 2024

Yeah Iโ€™m sure it is possible but I have to draw the line somewhere. ESX 4.1 went out of support many years ago. I just really donโ€™t want to be coding around every unique use case.

from asbuiltreport.vmware.vsphere.

mattallford avatar mattallford commented on June 12, 2024

We don't have that functionality built in, but it's something we can put in as a feature request.

I don't think it would be too hard to code around it, @tpcarman is it just a matter of a filter on Get-VMHost in the vsphere As Built Report?

from asbuiltreport.vmware.vsphere.

googleface avatar googleface commented on June 12, 2024

Fully understand Tim, just wondered if there was any | Select-Object or Where-Object could have filtered these out during the CMDLet execution, I have 4 x 5.0.0 hosts & 1 x 4.1 host on this VC.

I guess I'm unable to use against this VC then?

Appreciate the help., Scott

from asbuiltreport.vmware.vsphere.

googleface avatar googleface commented on June 12, 2024

I'll give it a bash against my 6.5 VC now and see how that goes.

from asbuiltreport.vmware.vsphere.

googleface avatar googleface commented on June 12, 2024

Thing of beauty this lads, haven't felt this good since Michael Owen score against Argentina in the 1998 World Cup. Worked a treat on VC 6.5, did throw this warning up, not sure if this means certain VUM info wasn't extracted or not?

image

Thanks again, this module is unreal.... package it and sell it :-)

from asbuiltreport.vmware.vsphere.

mattallford avatar mattallford commented on June 12, 2024

Thanks for the feedback Scott :)

That warning is OK to ignore for the purposes of data collection, the VUM information will still have been extracted. The VUM cmdlets in PowerCLI don't use the connection to the vCenter Server, it establishes another connection, so unless the VUM service has a trusted cert, you'll get this warning as well.

from asbuiltreport.vmware.vsphere.

googleface avatar googleface commented on June 12, 2024

Brilliant, thanks again chaps, wait till I show my superiors this :-)

from asbuiltreport.vmware.vsphere.

googleface avatar googleface commented on June 12, 2024

Chaps, can this script map DataStores back to NetApp devices?

from asbuiltreport.vmware.vsphere.

mattallford avatar mattallford commented on June 12, 2024

Hey Scott,

Sorry, I didn't see this last message.

With the current functionality, no, as the script is just looking at the context of the vSphere environment and not at the underlying storage platform as well.

from asbuiltreport.vmware.vsphere.

tpcarman avatar tpcarman commented on June 12, 2024

@googleface I will include this in the next update, however if you wanted to test on your environment, modify the following line in Invoke-AsBuiltReport.VMware.vSphere.ps1

This will exclude ESX/ESXi hosts prior to vSphere 5.0

From this
$VMHosts = Get-VMHost -Server $vCenter | Where-Object { $_.Model -notlike "*VMware Mobility Platform"} | Sort-Object Name

To this
$VMHosts = Get-VMHost -Server $vCenter | Where-Object { $_.Model -notlike "*VMware Mobility Platform" -and $_.Version -gt 5} | Sort-Object Name

Please let me know if this resolves your issue.

from asbuiltreport.vmware.vsphere.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.