How to get space disc + space of a computer virtual RDM

Hi all

I would like to know, used by the two RDM + VMDK VM hard drive space

I get the details using the script below

Get - VM | Get-hard drive |

Select @{N = "Name VM"; E={$_. Parent.Name}},

@{N = 'IP address'; E={@($_. (Parent.guest.IPAddress[0])}},

@{N = "VM PowerState"; E={@($_. Parent.PowerState)}}.

@{N = "number of CPU"; E={@($_. Parent.NumCPU)}}.

@{N = "MemoryInGB"; E={@($_. Parent.MemoryGB)}}.

@{N = 'Cluster'; E = {Get-Cluster - VM $_.} Parent}},

@{N = "ESX host"; E = {Get-VMHost - VM $_.} Parent}},

@{N = 'File'; E={$_. Parent.Folder.Name}},

@{N = "HD capability"; E={$_. CapacityGB}},

@{N = "Datastore"; {E = {Get-Datastore - VM $_}},

I'm looking for an output similar as below

VM name IP address VM PowerState CPU Count MemoryinGB Cluster ESXHost Capacity(VMDK+RDM) HD Datastore folder

VM1 10.10.10.10 receptor 4 8 ABC 11.11.11.11 2048 data store 1

VM210.10.10.11Receptor48ABC ABC 11.11.11.13 3096Data store 2

If you want just the size of the configured disk (i.e. not the amount actually used)

Get - VM |

Select @{N = "Name VM"; E={$_. Name}},

@{N = 'IP address'; E = {@($_.guest.) (IPAddress[0])}},

@{N = "VM PowerState"; E={@($_. PowerState)}}.

@{N = "number of CPU"; E={@($_. NumCPU)}}.

@{N = "MemoryInGB"; E={@($_. MemoryGB)}}.

@{N = 'Cluster'; {E = {Get-Cluster - VM $_}},

@{N = "ESX host"; {E = {Get-VMHost - VM $_}},

@{N = 'File'; E={$_. Folder.Name}},

@{N = "HD capability"; E = {[Math]: round (((Get-disque dur-VM $_ |))} Measure-Object-CapacityGB property-sum). (Sum), 2)}},

@{N = "Datastore"; {E = {Get-Datastore - VM $_}}

Tags: VMware

Similar Questions

  • How to get to the carmera on this computer?

    original title: carmera

    How to get to the carmera on this computer?

    Hello

    1. What is the number of brand and model of your computer?

    2. what version of Windows you are running on the computer?

    If you are referring to the webcam built into your computer, then check the documentation that came with the computer to turn it on, let me know if it's something else.

    See the link below

    See to believe

    http://Windows.Microsoft.com/en-us/Windows-Vista/seeing-is-believing-use-a-webcam-to-bring-your-Instant-Messaging-to-life

    You might want to know

    What version of the operating system Windows am I running?

    http://Windows.Microsoft.com/en-us/Windows7/help/which-version-of-the-Windows-operating-system-am-i-running

  • How to get security DEP shut down my computer.

    I need to know how to get the DEP security off my computer because it cloeses the internet in the midel of its use. I do not want and cannot have out of myself. It's my first computer and I need helppppp!

    First read all the details on dep: -.
    http://support.Microsoft.com/default.aspx/KB/875352
    You can turn off dep for certain applications, but not all
    1. click on start
    2. Select Control Panel
    3. Select System
    4. click on the Advanced tab
    5. in the area of Performance, select settings
    6. click on the data tab to run in the dialog box that opens
    7. Select turn on DEP for all programs and services except those I select
    8. click on Add.
    9. the open dialog box opens. Find and select your application.
    10. click on open
    11. click on apply
    12. click OK
    13 reset
    -----------------------
    and if you the problem becomes a den of "Data Execution Prevention" error message mean this: -.
    http://support.Microsoft.com/kb/875351

  • How to get a disc from Windows Vista Home Premium 64 - bit after I lost mine? I product key for it, just need to drive; How to do it?

    I currently have a HP with Windows 7 on it. I want to wipe my hard drive (a full cleaning) and start again. I have the product key of Windows Vista Home Premium for a 64-bit computer, only to have not only not the disc. Recently, I called HP to get a new, only for them to tell me that they cannot help me because my warranty has expired... Is there somewhere else I can go to to get a disc without key on this product? I just need the diskette. If anyone can help me please, I would be very grateful. Thanks :)

    Hello

    You can't reinstall Vista on a recovery partition you have installed another operating system

    read this:

    Solve a common problem of recovery.
    If the original operating system is changed to a non - Vista OS, the Recovery Manager cannot be launched either office or by pressing f11 at startup. You can use the recovery disk to restore the computer to the original state of Vista. If you are using a non - Vista OS, you can use a third-party partition management program to recover hard disk space.

    ________________________________________________________

    Contact the manufacturer of the laptop computer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it

    they do it for a nominal cost of $

    you say, that they will not!

    ________________________________________________________

    or borrow a vista microsoft dvd; not a HP, Acer recovery disk etc

    Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer

    they contain all versions of vista

    This is the product key that determines which version of vista is installed

    http://www.theeldergeek.com/Vista/vista_clean_installation.html

    ____________________________________________________________

    How to replace Microsoft software or hardware, order service packs and replace product manuals

    http://support.Microsoft.com/kb/326246

  • How to get a disc from the drive out? Dell studio xps

    I don't know how to eject the disc from my drive

    The normal way to proceed is to use the button on the side of the computer where the drive should eject the disc, or open the screen of the computer of the start ORB, click the CD drive and select eject from the context menu.  If this fails, check your computer's manual or the manufacturer's Web site for instructions from emergency eject.

    'Sky of Scotty' wrote in the new message: * e-mail address is removed from the privacy... *

    I don't know how to eject the disc from my drive

  • "Re: Satellite A300: how to get the BT icon in the computer" window like any other device

    Dear experts,

    I own a computer Satellite A300 series laptop with Vista Home Premium 32 bit.
    Previously, "Interchange of information bluetooth" icon allows to be appeared in the 'Computer' window as "other devices."

    Today, I noticed that the icon is disappered from "computer"window, but if I have BT of the the taskbar or system tray icon, it works very well. "

    I can send file from laptop to mobile and vice varsa.

    but I need this icon to the desired location (IE, the working window) to open the window of bluetooth information interchange in order to obtain full access to the mobile Assembly file into the laptop. (when I need a number of files to copy to phone from a mobile phone in turned monkey)

    Please tell me how to get this icon back in; computer"window?

    Hello

    I think that this appears if the BT device has been activated.
    Disabled or not connected devices does not appear under "My Computer" until the devices are connected.
    Please activate the BT using FN + F8 first, then check the my computer window.

    Welcome them

  • How to get the name of the client computer and the name of the customer osuser

    Hello everyone,
    the trigger below works fine. But I want to get the name of the client computer and the name of osuser customer in the output of the same trigger shown below, how do I do this in the same trigger? any help is highly appreciated.
    Thank you and best regards.

    triggering factor:
    ------------
    CREATE TABLE logonaudit
    (
    user_id VARCHAR2 (30),
    sess_id NUMBER (10),
    LOGON_TIME DATE,
    host VARCHAR2 (20));

    Table created.

    CREATE OR REPLACE
    Logon_audit RELAXATION
    AFTER LOGON
    WE DATABASE
    DECLARE
    V_program varchar2 (120);
    BEGIN
    SELECT UPPER (program)
    IN v_program
    SESSION $ v
    WHERE audsid = sys_context ('USERENV', 'SESSIONID');
    If (upper (v_program) as 'TOAD %' or upper (v_program) like '% SQLPLUS %')
    then
    INSERT
    IN logonaudit
    VALUES)
    user,
    sys_context ('userenv', 'sessionid'),
    SYSDATE,
    sys_context ('userenv', 'host')
    );
    end if;
    END;

    the output showing sessionid, date, db user name, as a local server machine name.but I want osuser of customer names and the name of the client computer as you know connection of clients to the database of their machines.how can I achieve? any help much appreciated.

    Published by: 938946 on December 25, 2012 12:15 AM

    According to AskTom - do not use audsid, dangerous - can be 'zero '.

  • How to get the disc of recovery for Satellite M50 161

    I bought a new Toshiba Satellite M50 161 4 years ago and its been great until recently when he developed serious problems.
    I need a recovery disc or the disc of the original for XP software but none of this was supplied with it.

    How can I get these disks now?

    > I need a recovery disc or the disc of the original for XP software but none of this has been provided with it.
    I'm in doubt about it. According to the specifications of the laptop Satellite M50 161 comes with brackets to follow:
    -Recovery media (CD or DVD)
    -Express Media Player
    -Additional software CD
    -Microsoft Works Suite

    All the old models of laptops come with recovery CD. I have some old Satellite m70 and still have original valuation facilities Toshiba DVD.

    Anyway, you can try to contact nearest Toshiba authorized maintainer and ask for help. To be honest I don't think you will get for this older model laptop. For the installation of the OS, you can also use Microsoft installations CD. All the drivers, tools and utilities that you can download at Toshiba page under http://eu.computers.toshiba-europe.com for assistance

  • HP Compaq dc 7800: how to get a disc to install windows vista on my Compaq dc 7800

    Hello

    I just bought a used HP Compaq 7800 dc with windows 7 as operating system. There is a product key for Vista, but no disc.

    Is it possible to buy a disk via HP?

    Kind regards

    kolswadet

    kolswadet

    In answer to your question - probably not, in the least, HP. I was unable to locate the support of HP recovery for your PC from the HP Support site.

    You can contact HP directly Customer Support to see if you can order the recovery of their own media:

    If you live in the United States or the Canada, details are on this page: http://www8.hp.com/us/en/contact-hp/phone-assist.html#section1

    If you live elsewhere, contact details are on this page: http://www8.hp.com/us/en/contact-hp/ww-contact-us.html

    Note that if HP no longer provides a recovery media for your model, a few other sites, you can check are: http://www.computersurgeons.com/ and http://www.restoredisks.com/

    Don't forget to read through the material in the linked thread before attempting the recovery: http://support.hp.com/us-en/document/c00707939

    Good luck

  • How to get the status of data for each virtual [identify overprovisioning] computer store?

    Hi people,

    Could help me is it you please in the generation of report of VM and its data store location (data stocker store free space, size set up and operation). ?

    Ideally, it should be like this:

    The virtual computer name. Name of the data store. Size of the data store. Total configured data store size

    Thank you

    The following script adds the ProvisionedSpaceGB property to the output of the script of Luke:

    Get-VM | ForEach-Object {
      if ($_)
      {
        $vm = $_
        $vm | Get-Datastore | ForEach-Object {
          if ($_)
          {
            $Datastore = $_
            "" | Select-Object -Property @{N="VM name";E={$vm.Name}},
            @{N="ProvisionedSpaceGB";E={$vm.ProvisionedSpaceGB}},
            @{N="Datastore Name";E={$Datastore.Name}},
            @{N="Datastore Size (GB)";E={[Math]::Round($Datastore.CapacityMB/1KB,0)}},
            @{N="Datastore Total Provisioned size (GB)";E={[Math]::Round(($Datastore.CapacityMB-$Datastore.FreeSpaceMB)/1KB+$Datastore.ExtensionData.Summary.Uncommitted/1GB,0)}},
            @{N="Datastore Used Space (GB)";E={[Math]::Round(($Datastore.CapacityMB-$Datastore.FreeSpaceMB)/1KB,0)}}
          }
        }
      }
    }
    
  • How do get back you control of your computer if a hacker control it from a remote connection? What can I do to solve this problem, other than going to IC3?

    First someone downloaded 'System tools' on my computer and tried to find my credit card and asking me to pay with a credit card for their service of removal of this system on my computer.  How do they know that it was on my computer if they do not have there?  They also deleted some of my files and share them on the internet.  And they have deleted the help section on my computer.  Whenever I tried to use it to get help for the Microsoft situation, they close me.  They have to monitor my online conversations and connections so they knew when to stop.  I went into my computer and founjd they were disassemble my files and export some to the internet.  It has been almoist for 2 weeks, and they are always at work.  I tried to go to IC3, the internet to tell police what had happened.  but they have to change my access to my computer... password, access to MSN and change my settings by default so that I could not use the button restore.    They hung my computer to one of them to do file sharing, which they stole my music, private photos and other things... like my anyaudioconverter.  I don't know what to do, except to go to IC3.  If you have any ideas to help me, please let me know.

    Try to download this tool:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Then disconnect it from the internet and run a full scan with it, it could detect spyware and software malware. After they summer detect all delete them and reboot your PC. Then, make sure that you have installed the antivirus and make sure that the firewall is enabled, and Windows Update.

  • How to get the product key from old computer running XP SP1 until she is thrown?

    How can I get my registration code from my old computer with xp with service pack 1 before I throw it away

    * original title - how can I get my registration key of xp to xp I can see all the files in my computer *.

    Hello

    You can get the product key of your Windows XP CD. To get the key from your computer, you might have to look by using a third party app that could help you achieve the same.

    Please use your favorite search engine and browse for such a program that is used to.

    Note:  This response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

  • instructions on how to get your photos back after your computer has been deleted and the

    my computer has been deleted and my photos from my photo file. so I wonder how I can get all my photos if I can at all... my computer was giving me problems and saying that the hard drive has been mess up so I went back and restored my programs and it restored everything but my photos and other files, that I would just get my photos.

    How exactly do you run restore?

    If you have used a disk recovery or a recovery Partition...
    to reinstall your system as it was when you first
    bought it... your personal files may be missing
    unless you do backups on an external support.

    There are programs of software designed to recover the
    deleted files. The following freeware is an example...
    a Google search will find more.

    If there is no file on your hard drive with
    not been crushed... There is a little chance that
    You may be able to recover some of them.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Recuva - file recovery
    http://www.Recuva.com/

    Introduction of Recuva (tutorials)
    http://docs.Piriform.com/Recuva/introducing-Recuva

    The following article can be also worth a visit:

    How to recover files deleted with free software
    http://Lifehacker.com/393084/how-to-recover-deleted-files-with-free-software

    Good luck.

  • How to get pictures from my phone to computer

    original title: pictchers of my phone on computer

    How can I get pictures from my phone and put it on my computer

    Hi richardosbaldeston,

    If your phone comes with a USB cable, you can use it to connect to your computer. Your computer should recognize the phone as a storage device. You should then be able to go to start > computer > devices with removable storage. Open the unit and access images. These are the General steps. For more specific measurements for your phone, display the brand and model of the phone or manual/website of the manufacturer.

  • How to get LR installed on my new computer?

    I had installed LR3. This computer is dead and does not run. I tried to install LR3 on my replacement computer and he refuses to accept the serial number. How can I get installed LR3?

    I understood the problem and resolved. I knew that I had to enter the serial number on LR2, since there was an update. I just entered the serial number in the wrong place.

Maybe you are looking for

  • iOS 9 until the next feature adds duplicates

    Hello everyone. I had this problem using music in iOS 9, pretty much since the day 1 that I started using it. What I've noticed, is that when I want to listen to an album, I will push to add the album to the list of the next and what I've been seeing

  • FVS318N router keeps fall of network connectivity

    I had consistent problems where my router removes all connectivity. It's both for the wired connections and wireless. When this happens, I am able to ping the routers IP address, but I am unable to connect to the router. I power cycle the router and

  • WiFi not detected after installing Windows 7 Ultimate 64 - bit Elitebook 8740w

    Hello I used a DVD to install Windows 7 Ultimate 64 - bit to replace Windows 7 Professional 64 - bit on my Elitebook 8740w. In the end, I used a new facility as the upgrade option ended with a failure error. However, after the clean installation, it

  • error message on printer 79

    LaserJet Pro 100 color MFP M175nw has error 79 on the unit and turn off and unplug for 45 seconds and reconnected directly in the wall are not solving the problem / delete the error message.

  • Sharp blurr

    Dear all Expertsas you can see in the image below, the ellipse is sharp edges but the gradient of black with a side 0% transparency seems not sharp on the edges.why we can not get the effect.Thank youSajidAttar