vCloud

 View Only
  • 1.  OVDC List with specified parameters in detail

    Posted Sep 17, 2024 10:04 AM

    Hi,

    I would like to have a list for all OVDC in my Cloud Director exported to a xlsx or csv file to see all OVDCs with specific deatils. For example, now I have hundreds of OVDCs in environment under same Cloud Director and need a list with CpuExpandableReservation value for each to show.

    Is there a script to do that?

    If I run below command, 

    Get-OrgVdc | Sort-Object -Property Name | Ft -AutoSize

    I get below details

    Name                                        Enabled CpuUsedGHz       MemoryUsedGB     StorageUsedGB      AllocationModel
    ----                                                -------   ----------                ------------               -------------                ---------------
     OVDC-*****************-TST           True    0,00 (0,0%)      7,803 (0,8%)           14053,000 (30,6%)  ReservationPool

    I need for now add CpuExpandableReservation as True or False.



  • 2.  RE: OVDC List with specified parameters in detail

    Posted Sep 18, 2024 09:44 AM

    You can run: get-orgvdc | select *

    That will give you all the parameters you can retrieve with the get-orgvdc command to the best of my knowledge. I don't see the CpuExpandableReservation parameter listed there though. So in my limited knowledge it would appear as though the PowerCLI commandlet is not going to give you what you need.

    Take a look at the Swagger API, or API Explorer under the Help menu. the vdcComputePolicies may be helpful.

    Mike