VM guest capacity utilization

So there is a report in the vmware operations manager called the use of the vm guest capacity.  I need to somehow dupicate this.  Foglight does not seem to have a vm capacity trends report, just an esxi, cluster and trend of capacity of the data store.  I need a capacity guest vm trends report.  I use 6.7.  don't know if something like this added to 7.  I know I can probably try and generate a custom report to imitate it, but would prefer a can...

Hi Chris - can you show me what the report looks like vCOPS, I'll see if we have something similar - thanks Danny

Tags: Dell Tech

Similar Questions

  • capacity of DTX200

    Hi all

    I want to submit reports that will show me to my DTX200 capacity utilization (in the last 30 days).

    My idea is that I'll use PCLI to get curren occupation of space for all / my place in my data center. Script is scheduled to run once a day and export the output to a CSV file (in annex).

    My problem is that I do not know how to add the time stamp column in the CSV file and how to add the new line in the existing CSV file already.

    my order

    PS C:\ & gt; Get-datastore - data center (data center-get-name idc01). where {$_.type - eq "NFS"} | Export-Csv C:\Inetpub\ftproot\report\datastore_usage.csv

    This will teach me to test these things first, try this:

    $filename = "C:\temp.csv"
    $Orig = Import-Csv $filename
    $Date = Get-Date
    
    $Output = @()
    Foreach ($Datastore in (get-datastore -datacenter (get-datacenter idc01) |where {$_.type -eq "NFS"})){
         $Details = "" | Select Date, Name, FreeSpaceMB, CapacityMB
         $Details.Date = $Date.DateTime
         $Details.Name = $datastore.Name
         $Details.FreeSpaceMB = $datastore.FreeSpaceMB
         $Details.CapacityMB = $datastore.CapacityMB
         $Output += $Details
    }
    $Both = $Orig += $Output
    
    rm $filename
    $Both | Export-Csv -NoClobber -NoTypeInformation $filename
    

    If you found this information useful, please consider the allocation of points for correct or helpful.

    Alan Renouf

    http://Virtu-al.NET

  • Determine which drive is alert (infrastructure cartridge)

    Hello

    We use the cartridge of the Infrastructure to draw attention to the capability file Foglight. For the moment is the alert that we see:

    WARNING: SERVERNAME: disk high capacity use 91.00%

    Reported to Jan 01 00:00:00 BST 2012

    What we would like to add to this alert, it is which drive is causing the alert.

    Is this possible?

    Thanks in advance

    Hi Ewan,

    Yes, it is possible. The ability to file rule should probably include the disc name in the alert message as it does in the dashboard of the alarms and the alarm detail view.

    But since it isn't in the current version, you can easily make changes to include this information.

    Since he is an out-of-the-box rule, the best practice is to copy this rule, use a naming convention in the copied rule and modifed and disable the out-of-the-box rule.

    You can make these changes from the dashboard of the rule management.

    Once you have copied the file system of the cartridge of the Infrastructure capacity rule and disabled the original, modify the copied rule and add the Variable rule "diskName" as shown in this screenshot.

    Then go to the caution of the rule condition and change the 'Matière2' variable in the Variables of severity level to include '@diskName ':

    Repeat this process for the other severities of rule and you should be good to go.

    When I tested this change, I got an alarm like this message:

    From: [email protected] [mailto:[email protected]] Sent: Thursday, October 04, 2012 10:14 AMTo: Brian WheeldonSubject: agent99 : Warning: High Disk Capacity Utilization on /agent991 (/dev/vg00/lvol4): 90.93%
    
    Warning: agent99 : High Disk Capacity Utilization 90.93% Reported at Thu Oct 04 10:14:19 EDT 2012. Please use the following URL to obtain alarm details. http://myfmshost:8080/console/task/showAlarm?alarmId=/alarms/9aa60450-37f4-48b1-81fa-cfddc5a9d609
    

    Kind regards

    Brian Wheeldon

  • HP Pavilion dv7 not recognizing their 'new' capacity of 750 GB HARD drive.

    I have a model of HP Pavilion dv7 - 2173cl with:

    1. Intel Core 2 Duo P7350 CPU processor.
    2. Windows 7 Home Premium - 64 bit (factory installed Vista update) OS.
    3. 2048 MB is memory.

    'SMART' HARD drive imminent failure message received:

    1. Original disc installed HARD is a 500 GB Western Digital model WD5000DBEVT.
    2. SMART two weeks' ago error messages indicating imminent failure of HDD appeared.
    3. A check of the HP Web site checked the error number corresponds to "imminent HARD drive failure.
    4. The message prompted me to 'save' the HARD drive.
    5. I completed a backup of files and an image via the "Backup and Restore" feature backup of Windows 7.
    6. The backup has been to an external Seagate 1 TB USB connected external HARD disk
    7. In addition, I created a 'Windows 7 64 bit system repair disc' using the backup and restore of Windows 7 feature.

    Replacement HARD drive:

    1. I bought a 750 GB (7200 RPM) Western Digital model WD75000BPKX.
    2. When formatting the HARD disk (via the CD of 'Windows 7 64 bit system repair disc') replacement I observed the formatting of the process that the size of the disc HARD has been reported that 500 GB (compared to the actual size of 750 GB).
    3. With the help of the rollback on the CD "repair" feature I restored it (backup on external USB connected HDD image) image.
    4. Later, I check the 'properties' from the 'device' (the new HDD of 750 GB and observed that Windows 7 also pointed out this new HARD drive as a 500 GB drive (compared to a 750 GB drive).

    Site HP Web search:

    1. A search in the Web of HP SP5575, referred to as software download site and 'run' to identify a 'Advanced Format hard drive.
    2. A downloaded execution of and run this software has given rise to the audit that the 'new' Western Digital model WD75000BPKX is an 'Advanced Format Hard Drive.
    3. The site also shows to support a 'Advanced Format hard drive' the "device driver" must be at least version 9.6.01014 Rev: has (the current version is 6.1.7600.16385).
    4. The SP50624 Web site, referred to as software to download and 'run' to update the disk device driver (found in Control Panel/Device Manager/disk drives/Driver/updated updated driver for Windows 7).
    5. I have downloaded and run SP50624 and as a guest 'Update Driver' selected in the Control Panel/Device Manager/disk/disk driver and also "indicated the location where the new driver after 'running' SP50624.
    6. Windows has responded with "the driver is up to date" and selected version 6.1.7600.16385 driver (i.e., would not version 9.6.01014 Rev: A).
    7. The software (e.g., Windows) running on the 'new' unacceptable short slow disk. It is a symptom commonly identified when a disk with 'Advanced Format' works without the drivers appropriate and formatting.

    Issues and options:

    1. Is there a solution that will allow the model of HP Pavilion dv7 - 2173cl to use this 'new HARD drive (a compatible disc HARD driver update that will install or another available solution that will accommodate a HARD drive to Format advanced such as the 750 GB (7200 RPM) Western Digital model WD75000BPKX)?
    2. Or is my only solution regarding the HP Pavilion model dv7 - 2173 cl to buy a 500 GB HDD without 'Advanced Format '?
    3. And finally buy a vintage/new laptop today.

    Thanks for your suggestions.

    Problem solved.

    I solved the problem as follows:

    1. I chose to reload Windows 7 from "scratch" after your positive validation of this approach.
    2. This required me to reload all applications (for example, Microsoft Office).
    3. Note: A reload of the OS and Applications from "scratch" requires access to the "Product Key".
    4. During the initial charging of Windows 7 and the formatting of the 'new' drive Windows 7 provided the possibility to remove the partitions (remove/reorder) that had been affected by the recovery process 'attempt' described above. With the help of this function I eliminated the partitions and 'Add' the "unallocated" space to the overall capacity of 750 GB HARD drive.
    5. After reloading the OS, I checked via 'Properties' that all of the 750Go were present and available - success.

    Thank you for your support.

  • IPS No. WRT1900ac for guests

    When I activate the SSID of comments he no IP address is available to clients.  I have a feeling that this is due to I have stop the DHCP server for my LAN of router (since I run my own DHCP server).  I don't know if there is a way to offer only IPs for the guest SSID? I would create a new scope in my DHCP server, but I do know that this firmware has no capacity to make the VLAN correctly.

    If you have disabled the DHCP server on the router of the guest network will not get an IP address because the way in which the guest network works are the router give it its own DHCP subnet on which is isolated to the main subnet.

  • What metrics to use for memory capacity planning? Active or consumed (in request or use vROPS)

    Hey all,.

    I was wondering once more what metrics to use for memory capacity planning. Since the information from different sources (for example your ESXi host needs more RAM to Iwan Rahabok or VMworld 2012: Session VSP1729 - virtualized memory understanding performance management - Eric Sloof - NTPRO.NL Kit Colbert) pointing all assets (vROPS request), I expect that when we have high memory consumption / use in vCenter there will be no balloon / compression / permutation.

    Also the metric active / request should not be used for all workloads (e.g. Java / DB), why is - this? I have not found the reason of this anywhere, only the fact.

    Other sources such as Mark Achtemichuk suggests using consumed/use, which is the opposite (Understanding Active Memory - VMware vSphere Blog - Articles VMware vSphere).

    So I thought I'll with active / demand as metric and ignoring the warnings inside of vCenter.

    But the last time we have fixed half of our group, we had consumed/high memory usage and the vCenter began to inflate, compress, and finally to Exchange. Not a lot but I had not expected that, because memory active was only a small percentage of consumed.

    Can someone explain to me why this happened and who is right on this issue.

    Kind regards

    jengl

    jengl I don't know if you asked the wrong question, or I give the wrong answer :-)

    It is always good to attach screenshots, background to the issues, and what exactly you are trying to solve.

    You wrote:

    So to summarize:

    -ESXi uses consume to decide when to start the recovery techniques of memory RAM

    -To rightsize VMs for RAM, you must use the counter inside the BONE, not active

    -If you do not want to commit too much RAM and have a lot of the balloon you should right-size your virtual machines or extend the RAM / buy additional servers

    Please correct me if I'm wrong.

    My answer: you are right. If you do not have access to the guest operating system, then Active VM and VM consumed are better guess. Better than nothing :-)

    Sizing sizing of VM and ESXi are 2 different things (2 use cases) different. Please don't mix up the as soon as they are confusing. Do not try to resize the virtual machine when you are sizing the ESXi, unless you have a control total on them.

    You wrote:

    The question for me is: how many cache (standby under Windows) inside the VM is really necessary for the virtual machine to get the best performance without wasting resources. Perhaps this issue can be resolved only by tests or do you know another option?

    My answer: it's a different topic brother :-) It is different, because it is within a guest operating system (Windows in this case) and is no longer at the level of the ESXi. Suggest that post you another, possibly under Windows or vSphere too :-)

  • Using PowerCLI to recover the capacity of volume comments data

    I am using PowerCLI to declare on the volume letter and free space associated with a guest computer.  I am currently addressing this problem through the extensiondata of the VM guest and then placing the properties I want in a PSObject.

    The question that I am running is that numeric values keep coming up as zero when it is inside the loop for, although they correctly resolve by themselves.  One thing I found interesting was these two upcoming properties like "System.Nullable [long"] when executing GetType(), but I don't know if that is related to the question.

    The script is below, and I changed the font color on the problem section.  I'd appreciate any help.

    # Pre - performance Variables

    $USCulture = New-Object - TypeName System.Globalization.CultureInfo - ArgumentList "en - us".

    $USCulture.NumberFormat.PercentDecimalDigits = 2

    $USCulture.NumberFormat.NumberDecimalDigits = 2

    Guest computers #Get

    [table] $vmguests = $vmcluster | Get - VM

    foreach ($vmguest to $vmguests)

    {

    $vmguestinfo = new-Object - TypeName System.Management.Automation.PSObject

    $vmguestinfo | Add-Member - MemberType NoteProperty-Name "Hostname" - value $vmguest.extensiondata.guest.Hostname

    $vmguestinfo | Add-Member - MemberType NoteProperty-Name "GuestState"-$vmguest.extensiondata.guest.GuestState value

    $vmguestinfo | Add-Member - MemberType NoteProperty-Name 'GuestFullName'-$vmguest.extensiondata.guest.GuestFullName value

    $vmguesthdds = $vmguest. ExtensionData.Guest.Disk

    for ($i = 0; $i - lt $vmguesthdds. Length; $i++)

    {

    $vmguestinfo | Add-Member - MemberType NoteProperty-Name ' DiskPath$ I '-$vmguesthdds [$i] value. DiskPath

    $vmguestinfo | Add-Member - MemberType ScriptProperty-Name ' CapacityGB$ I "-value {($vmguesthdds [$i]. Capacity). ToString ("N", $USCulture)}

    $vmguestinfo | Add-Member - MemberType ScriptProperty-Name ' UsedSpaceGB$ I "-value {[System.Decimal]: Subtract ($vmguesthdds [$i].} Capacity, $vmguesthdds [$i]. FreeSpace). ToString ("N", $USCulture)}

    $vmguestinfo | Add-Member - MemberType ScriptProperty-Name ' FreeSpacePercent$ I "-value {[System.Decimal]: Divide ($vmguesthdds [$i].} FreeSpace), ($vmguesthdds [$i]. Capacity). ToString ("P", $USCulture)}

    }

    [table] $vmguestresults += $vmguestinfo

    }

    Thank you

    Yes, he had a few typos in the code.

    I corrected which, in the code and the attachment.

    Try this one.

    I'm afraid that I can't achieve this GitHub repository.

    A search on your GitHub account does not return either

  • Collage of guest VM

    Can I group comments to a vSwitch (vds or standard) interfaces?

    I want to prototype a virtual router that could replace at least part, LB functions.

    It doesn't have the ability to perform L3 routing before the virtual machine, in fact, we have a single VIP (or router/nexthop etc.) which will be hosting the guest virtual computer on a network of L2.

    I have a LAG (LACP) connection between the vSwitch and external physical (4x10Gbps or QSFP + interfaces - so we have (>) 40Gbps connection to the host), as well as connections will be statistically distributed across all interfaces (~ estimate connections unique > 1 M, so LACP is balanced).

    Which means we have a possible L2 40Gbps network between the physical switch and the guest of computer virtual, but I need the same LACP capacity between the guest and the vSwitch. Guests certainly support (such as the Linux LACP link), and his confirmation as I did the same bare metal of the OS on the host computer it managed network as expected load, but is not a very efficient use of hardware host for 95% of the time (the average load is of ~ 20Gbps and host CPU/RAM are never more than 25% of full load).

    Is this possible? Other options for a single person to manage more than the 10 Gbps for a single address MAC the vmxnet3 duplicates would allow?

    A virtual machine cannot form an etherchannel/LAG with a vSwitch, in fact the vSwitch is completely invisible to the virtual machine, but this should not be necessary in the first place:

    It seems that your general assumption is because the virtual machine has a unique vNIC which emulates a liaison 10GBASE-T, it is not able to exceed this bandwidth. It is a common misconception.

    Virtual machines may very well exceed the bandwidth of their virtual links.

    In theory and in the physical world, the maximum would be 10 Gbit/s, since vmxnet3 emulates a 10GBASE-T physical link. This flow is governed by physical limitations and traffic on the wire of the standard, but these do not apply in a virtual setting.

    For example, guests on the same host and vSwitch and port group are able to exceed beyond 10 Gbit/s with a unique vNIC. I know, we could think that for example the e1000, which has a link from 1 Gbps to the guest, is limited to 1 GB/s maximum. or vmxnet3 is limited to a maximum of 10 Gbps. But this isn't the case. They can easily exceed their "speed of the virtual link. Test it with a flow of the network as iperf tool and see for yourself.

    Operating systems don't artificially restrict traffic to match the speed of the agreed line unless it is physically required.

    To give you an example, I am able to reach 25 + Gbps with iperf between 2 virtual Linux machines with a vNIC vmxnet3 unique on the same host and port group. The same should apply to traffic that exits to the physical network through an OFFSET, you gave have multiple connections to high with bandwidth enough entropy to be spread over all the links.

  • Reduction of the maximum capacity of a VMDK

    Hey guys,.

    is there a way to actually reduce the maximum capacity of a VMDK? Let's say the opposite of its expansion.

    I know you can compact the VMDK, but this only reduces the size of the used on my machine (Windows 7) host the VMDK file. This isn't what I'm looking for.

    I want to reduce the maximum limit to expand the virtual disk.

    In more detail:

    For the procedures to upgrade within the host (Windows 7 as well), I have expanded the virtual disk, has increased the size of the partition inside the guest, made upgrades and decreased the partition inside the guest.

    Now, all I want to do, is to return to the virtual disk expansion.

    I tried a lot of things: compaction, defragmentation (inside the prompt and through VMware Workstation itself), reset the disk using sdelete and some combinations of the mentioned methods.

    Thank you very much for your help!

    Welcome to the community,

    The only supported way to decrease the size of the virtual disk is convert example using vSphere free Converter. There are certainly packing ways to achieve this by changing the . metadata and binary file VMDK files. However, as you already decreased the size of the original score, I would say you create another temporary partition on the free space on the disk, it from scratch using sdelete, delete the partition and then compact the virtual disk. Since this free space on the disk is not accessible from the guest OS will write anything for her, and she will therefore consume no disk space on the host (with the exception of some metadata).

    André

  • PowerCLI download guest OS version reported by VMware tools set up versus when VM created or altered.

    in my inventory and what RV tools scripts out I get the version of the OS that is selected for the virtual machine to change settings - options - version.  I would also like to produce a list of the version of the OS that signal the VMware tools in order to find those with poorly chosen OS and fix them.  I tried to. ExtensionData.config.Tools and I do not see the operating system listed there, anyone know where it is?

    PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI > $vm1.extensiondata.config.tools

    ToolsVersion: 9354

    AfterPowerOn: true

    AfterResume: true

    BeforeGuestStandby: true

    BeforeGuestShutdown: true

    BeforeGuestReboot:

    ToolsUpgradePolicy: upgradeAtPowerCycle

    PendingCustomization:

    SyncTimeWithHost: true

    LastInstallInfo: VMware.Vim.ToolsConfigInfoToolsLastInstallInfo

    DynamicType:

    DynamicProperty:

    aside, where can note I find a resource that shows what options are available for each command get, such as get-host and get - vm?  I learn a lot about what I can find in powercli by running this command and explore those who returns VMware.Vim..., but would allow me to save a lot of time to be able to just go get him.

    PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI > $vm1 = get - vm test-vm1

    PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI > $vm1.extensiondata

    Capacity: VMware.Vim.VirtualMachineCapability

    Config: VMware.Vim.VirtualMachineConfigInfo

    Layout: VMware.Vim.VirtualMachineFileLayout

    LayoutEx: VMware.Vim.VirtualMachineFileLayoutEx

    Storage: VMware.Vim.VirtualMachineStorageInfo

    EnvironmentBrowser: EnvironmentBrowser-envbrowser-653

    ResourcePool: ResourcePool-resgroup-11

    ParentVApp:

    ResourceConfig: VMware.Vim.ResourceConfigSpec

    Duration: VMware.Vim.VirtualMachineRuntimeInfo

    Comments: VMware.Vim.GuestInfo

    Summary: VMware.Vim.VirtualMachineSummary

    Data store: {Datastore-datastore-591}

    Network: {Network-network-145}

    In summary:

    RootSnapshot: {}

    GuestHeartbeatStatus: Green

    LinkedView:

    Parent: File-group-v.41

    CustomValue: {}

    OverallStatus: Green

    ConfigStatus: Green

    ConfigIssue: {}

    EffectiveRole: {-1}

    Authorization: {}

    Name: test-vm1

    DisabledMethod: {UnregisterVM, RevertToCurrentSnapshot_Task, Destroy_Task, RemoveAllSnapshots_Task...}

    RecentTask: {}

    DeclaredAlarmState: {10.vm - alarm-653, alarm - 11.vm - 653, 653 - 2.vm - alarm, alarm - 23.vm - 653...}

    TriggeredAlarmState: {}

    AlarmActionsEnabled: true

    Tag                  : {}

    Value                : {}

    AvailableField: {FA. GosAgent}

    MoRef: VirtualMachine-vm-653

    Client: VMware.Vim.VimClientImpl

    Try $vm. ExtensionData.Guest.GuestFullName

  • Report to the capacity of the disk name list vm disk (s) name and used space


    Hello

    Have a script to list the following:

    name of the computer virtual disk disk name and used space

    Thank you

    The ForEach statement do not place anything on the pipeline.

    You can get by using the call operator, like this

    $vm = gc vm.txt

    & {ForEach ($VM in (Get-VM-name $vm)) {($VM.)} Extensiondata.Guest.Disk | Select @{N = "Name"; E = {$VM. Name}}, DiskPath,
    @{N = "Capacity (GB)"; "} E = {[math]: tour ($_.)} (Capacité/1Go)}},
    @{N = "Free Space (GB)"; E = {[math]: tour ($_.)} (FreeSpace/1Go)}},
    @{N = "free space"; E = {[math]: Round (((100 * ($_.)))} FreeSpace)) / ($_.) Capacity)), 0)}})}} |

    Export Csv C:\report.csv - NoTypeInformation - UseCulture

    You are aware that only provides information about the partitions in the BONE invited nothing on virtual disks attached to the virtual machine?

  • Increase the capacity of the hard disk for VM

    Hello

    I use ESX 4.0 with vSphere 4.0.

    When there is no snapshots more I would like to increase the capacity of the hard disk of the virtual machine in the menu to change settings / Hard disk. There is MS Windows Srv 2008 R2 64-bit installed.

    What is the right way to do it? Operating system, there is no problem with this increased disc? Primary partition will automatically increase as or what I have to do it myself later?

    There should not be problems with the guest operating system when you increase the size of the virtual disk. After the increase in size in the settings of the virtual machine, you need to resize the NTFS partition in the VM Windows 2008 disk management.

    André

  • vCheck 5 'capacity Planner Info'

    Hey all -

    I recently start diving into the world of powercli and read many messages of Luc et Al. I came across the vCheck script a few months ago and he watched briefly. I am now responsible for coming up with some information about the ability of my superiors and it seems that the vCheck script has some valuable information in it. My problem is the 'capacity Planner Info' I'm not sure what he said. I'd really like to see if this information will help you. I have attached a picture below of my results, but not clear how to act on it. A bit of clarification would help so I can finish my report this weekend.

    Kind regards

    Mark

    In the report vCheck Alan performs a theoretical calculation of the capacity of comments, cpu and mem with, for a cluster.

    The formula is not too difficult to understand:

    • capacity cpu and mem 'real' cluster. It comes to the number of hosts in the cluster under level specified in the settings of cluster failover. For example (I only show cpu, mem is similar):

      • A cluster has 8 nodes.
      • Each node has 4 x 3 Ghz = 12 GHZ cpu capacity. The cluster has a total capacity of 96 GHz cpu.
      • Cluster failover level corresponds to 2 knots
      • The script calculates the 'real' as cpu capacity: 96 GHz - ((96 GHz * 2) / 8) = 72 GHz
    • the average CPU utilization of the cluster in the last 7 days.
      • This example uses the Get-Stat cmdlet with the cpu.usage.averagemhz metric.
    • the number of virtual machines on the cluster
    • the average use of the high VMS using cpu processor page
      • It calculates the average CPU utilization of all virtual machines on the cluster
      • He selects the virtual machines that use more than this average utilization of the processor
      • It calculates the average use of the these albums VMs-use of cpu processor
    • a theoretical value of the use of cpu for a single virtual machine, by dividing the above "average high of virtual machines using cpu processor utilization" by the number of virtual machines on the cluster
    • Finally, it takes the ability to 'real' of the bunch, subtracts CPU utilization of the high VMS using cpu processor of the 'average' page and divides it by the 'cpu use theoretical value for a single virtual machine"

    Note that this is an indicationand not an exact science, of how much capacity you have left in your cluster.

    There are other formulas used to calculate indicators.

  • Current capacity of the incorrect failover

    Hello

    We are using VMware vCenter Server ESXi 4.1 4.1. on the summary of Cluster its showing 2 guest of the current capacity of failover.

    We have 3 identical hosts (HP Proliant DL370 G6) all connected to an ISCSI device.

    Can I vMotion between them all very well.

    Does anyone know why 2 are only see room for the current ability to failover instead of 3?

    Thank you

    The ability to failover is the number of hosts remaining after a failure of the host. Your hosts no. 3 of the cluster with a defect leaves 2 hosts that virtual machines can switch.

    André

  • How to check space left inside the guest OS?

    Based on the PowerCLI online help, we can create a new virtual disk and then format it in NTFS.

    But it seems we cannot get inside the guest OS and check save how much left to drive C:\ or D:\. We can do this by using Get-WMIObject (good example here-> http://jtruher3.wordpress.com/2006/09/08/getting-disk-usage-information/).

    But using WMI from the guest operating system must be visible on the network, firewall open ports, WMI services must be identified and users should be allowed.

    Is there a method via VMware Tools?

    Thanks in advance

    E1

    Hi Iwan,

    the following PowerCLI script returns the capacity and freespace from all disks of comments from all your virtual machines via VMware tools.

    Get-VM | ForEach-Object {
      $VM = $_
      $_.Guest.Disks | ForEach-Object {
        $Report = "" | Select-Object -Property VM,Path,Capacity,FreeSpace
        $Report.VM = $VM.Name
        $Report.Path = $_.Path
        $Report.Capacity = $_.Capacity
        $Report.FreeSpace = $_.FreeSpace
        $Report
      }
    }
    

    Best regards, Robert

Maybe you are looking for