Extending from VM hard drive using $extendedCapacity

Hello all,.


I am trying to expand the operating system partition once I used the hard drive Set command in this format. If anyone can help on how the syntax would be written to please?

Get-disk hard - vm testvm | where {$_.} Name - eq 'Disk 1'} | together-hard drive - CapacityKB 39845888

How / where would input I this command?

($extendedCapacity - HostCredential $hostCred - GuestCredential $guestCred)-

* testvm is my hostname of the virtual machine

Thank you very much!

What is the operating system of the virtual machine which hard drive you are trying to extend? Because the only supported operating systems in PowerCLI 5.1 Release 2 to extend a hard disk with the cmdlet Set - hard drive are:

Windows XP SP3 32, Windows Server 2003 32-bit SP2, Windows Server 2003 SP2 64-bit, Windows 7 64 bit, Windows Server 2008 R2 64-bit and Redhat Enterprise 5 operating systems invited.

To extend the operating system disc, you need a vm for assistance. All the associated virtual machines disk and virtual machine to help must be powered off before the expansion disk.

The command becomes:

Get-VM -Name testvm |
Get-HardDisk |
Where-Object {$_.Name -eq "Hard disk 1"} |
Set-HardDisk -CapacityKB 39845888 -HelperVM (Get-VM -Name HelperVM) -HostCredential $hostCred -GuestCredential $guestCred

Tags: VMware

Similar Questions

  • How to remove unnecessary files from the hard drive using Lightroom.

    Hello

    I use Lr 5.7 on Win7 64-bit. I would remove completely some old files and their contents that were part of my previous, very messy organization. I still have parents and masters images files, so I have no need extra junk on my hard drive.

    I tried to do a right click on the file, but the only option is to delete the catalog. I saw posted solutions that say click on icon less. I don't see an icon less anywhere. As far as I know, Lightroom really doesn't want "delete me" anything.

    Thank you!

    Dave

    have you tried to delete images? You can't delete the folders...

  • I have always used the windows logo + L key to lock my computer, I remove things from my hard drive and now it locks not for me... need your help :)

    I have always used the windows logo + L key to lock my computer, I remove things from my hard drive and now it locks not for me... need your help :)

    Hi ddbowers01,

    The other shortcut keys work?

    Try pressing CTRL + ALT + DELETE and then try to lock the computer and check.

    Check the setting below:

    a. in the Control Panel, click user accounts.

    b. click on change the way users log on or off the power.

    c. Click to uncheck use the screen of welcome for a quick and easy connection.

    d. click OK.

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I can't hear any sound when you play a HDMI video uploaded to youtube, plays very well while on youtube but will not play sound from my hard drive after the use of realplayer download

    I can't hear any sound when you play a HDMI video uploaded to youtube, plays very well while on youtube but will not play sound from my hard drive after using the lplayer rea download

    Hello

    We will try to download different video using different downloader (other than RealPlayer) and see if the problem still persists.

  • Satellite M30X-165 only boot from a hard drive possible

    Today, I tried to upgrade from Windows XP to Windows 7 but no media like CD/DVD bootable and works of disk removable (USB key).

    Notepad only boots from hard drive.
    With F12 I have a start menu, but no matter what I select that does not work and Windows XP boots from the hard drive. Later, I changed the boot sequence in the bios, but it does not work.

    Finally, I did a bios update 1.60 zu 2.00 but I still have the problem.
    How can I boot from DVD or USB stick?

    Try please enter the BIOS and set it to default settings. After doing this, try again please.
    Optical disc drive recognized and listed correctly in the BIOS settings?
    It works when you use it in Windows?

    Also try another thing. Put the bootable disc in ODD and shut down your laptop. Reboot and press the C key several times. If I m remembering well this should force ODD as first bootabe.

  • How to extract the files from the HARD drive?

    I have a HDD1805 from a broken iPod 80 GB. I was wondering if there was another method I could use to extract the files from the hard drive.

    Hello

    Sorry, but I don t know what you mean exactly.
    Can you please explain exactly what you mean?

    What files you want to extract?

    Good bye

  • DV7 - 7333cl: how to extract usable data from a bad drive using 22 pins adapter usb to SATA on the new HD

    Greetings HP Forum,

    Recently, I replaced a bad hard drive on my laptop. I need now step by step procedure to extract usable data from the wrong drive using 22 pins adapter usb to SATA on the new HD.

    NOTE: I can't not all data that especially if some of the software downloaded on the replaced disk can be altered. Should I first download Internet Antivirus to protect my new hard drive? I'm not an expert, or even close to this when you work on the back of the laptop, so I'll have to step by step how to download and to partition the data recoverable and software, etc..

    Thanks in advance for your help... I greatly appreciate it!

    See you soon!

    Wes

    It is not complex. Attach the drive to the adapter and connect it to any other computer with good antivirus and antispyware installed. I use Malwarebytes and Avast. When you connect the adapter with the drive connected to the usb port, the drive will appear and it will be assigned a letter maybe E:\ or F:\ or something else. Immediately, he analyzes with the antivirus and anti-spyware. Quarantine or delete any virus or malware it finds. Then, it's just a matter of navigate the disk and copy and paste the contents of the host computer in a directory for this purpose. Obviously, you can copy from documents word, photos, music files, but you cannot copy the applications like Microsoft Word, iTunes. Photoshop.  You may need to take ownership of the files on the old hard drive, but Windows will guide you through this. Don't know what else I can answer.

  • Satellite A200 - Crackle sound comes from the HARD drive

    Hello

    I have the Satellite A200. When I start my laptop the patter comes from the hard drive.
    Someone knows something about it?

    Thank you
    Vikas

    In my view there s nothing wrong with your HARD drive.
    My drive HARD click every time while accessing data on the laptop and everything run ok for 3 years.

    But that doesn t mean that there is no hardware problem with your HARD drive. Usually it's not easy to tell when a HARD drive wound begins to malfunction. My first HARD drive died after 6 years of use. But the other HARD drive died after 1.5 years. This damage was covered by the warranty.

    Finally, I would recommend backup your data always on an external HARD disk to prevent data damage.

    Good bye

  • HP G72-B53NR: replacement internal hard drive used

    OK, so my laptop been gave me my best friend 3 years. I don't know exactly on the side '' Hunt of water-with-cash '' society (which means that my funds are not enough to buy anything). Very recently, my laptop has been slow and slow. After a particularly odd mistake involving my laptop power led is lit when it is off, and turning issues, I managed to solve the problem with what felt like luck silent. (I took apart and cleaned the circuit and temporarily disconnected a few things, including this small battery {on the advice of a website} thing) But since he works back, the slowness problem persists and become even worse (to the point where it takes forever to do anything) and despite my best efforts (and apparently Google as search engine :/) I couldn't speed it up. I entered the thing of the boot parameters by pressing ESC and F10 (I think) and has conducted an audit of HARD drive. The long and short, I think. I received an error message: hard drive 1 305 complete (or perhaps 303, it's been a while). I Googled that and said the error means that the HARD drive has failed.

    So, I managed to acquire a compatible HDD for my laptop. The only thing is, he used (Seagate 500 GB 5400 RPM). I swapped it with mine (WD Scorpio Blue 320 GB 5400 RPM) and found a lot of nonsense, that I especially managed to remove. I had to download some internal things missing, such as a drive for letting me use the internet. But despite all this, the used HARD disk feels 'off' and there are some issues that do not seem to solve. That is on the system information screen, it lists the computer model (HP Pavilion dv6) precedent and said that my side needs to be updated. He failed in this attempt. I also can't seem to complete the configuration of a service pack update. (During the "service pack configuration", he partially stops and says "failed to Setup service pack reverting of changes") I ran to check the HARD drive for this one and I do not receive an error. I can't find solutions for these issues online. I think that the problem is caused by the fact that the HARD disc is always set to the original computer, in addition to having a different copy of Windows 7 Home Premium. I would like to remove Windows 7 from this HARD drive and replace it with the factory my laptop OS HDD failure. I saved everything I want personal folders from my old HDD, so I'm not worried about it. I want to know also what else could I do to format the replacement used to correctly set up for synchronization (best word I could come up with at the time) with my laptop.

    If there is anything that I need to provide but missed or left I will on request.

    Microsoft has pulled all the .iso Windows 7 images he used to host m6mobile.fr from the web. They also asked us not to post a link to downloads so I can't do it for you. But an ingenious thrifty person who understands where downloads will surely be able to find someone hosting the old pictures .iso 'somewhere' on the internet. To help you as much as I'm allowed to do, is the official name of the download for Windows 7 Home Premium 64 bit OEM:

    X 17 - 58997.iso

    You can burn the .iso to a DVD and use it to install legally on your laptop by using the product key on the sticker on the laptop, or maybe inside the battery bay. You can get the drivers from this site.

    Let us know if there is anything else, we can answer.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • I accidentally deleted my Minesweeper from my hard drive, so I can no longer activate features. Anyone know where I can download a new version of Minesweeper?

    I accidentally deleted my Minesweeper from my hard drive, so I can no longer activate features.  Anyone know where I can download a new version?

    What version of Windows are you using?

    Check the Recycle Bin and restore if he's there.
    http://Windows.Microsoft.com/en-us/Windows7/recover-files-from-the-Recycle-Bin

    You can try a system restore:
    http://Windows.Microsoft.com/en-us/Windows7/products/features/system-restore

    The steps are similar for Windows Vista and XP.

  • How can I find the RPM from my hard drive

    How can I determine the speed rpm from my hard drive

    How can I determine the speed rpm from my hard drive

    You will have to drive using the number of research model. Press on + R (for example, run) and type or paste in devmgmt.msc , and then click OK.
    When the Device Manager opens, expand disk drives and note the model of your HDD (s).
    Pop the model number in Google (or your own favorite search engine) and you should not even go to another page to get the spin rate. as well as the manufacturer, capacity, interface, etc...
  • Recovery of data from a hard drive.

    I have a hard drive that was used to store data (i.e. The drive D:\).  Suddenly, it is not recognized as being in the format and/or I'm unable to access the data.

    You can use data recovery software to restore your data from your hard drive inaccessible. The I know is Remo Recover (Windows), it's a good recovery software. It supports recovery of files from the formatted hard drive. It can also recover your partitions deleted from your hard drive.

  • As I was deleting some files from my hard drive, I came across some files that I couldn't remove with a message saying remove wite protection.

    As I was deleting some files from my hard drive, I came across some files that I couldn't remove with a message saying remove wite protection. Help!

    This error indicates that an application is using this file at this point here. If you are unable to remove it, restart your computer and then try to delete it.

    IF YOU ARE NOT SUCCESSFUL WITH THE above METHOD, THEN TRY to USE UNLOCKER, a free application that disables the application using the file that you want to delete.
    Download unlocker from here-http://www.filehippo.com/download_unlocker/
    Click on the above link and click on download the newer version on the right side of the screen.
    Download UNLOCKER from the link given above and install it. (you may need to restart the computer)
    Right-click on the file you want to delete, and then click unlocker.
    A new window opens showing all applications using this file.
    Select all files, and then click on unblock.
    Now right-click on the file you want to delete, and then click on remove.
    YOUR FILE WILL BE DELETED SUCCESSFULLY.
    If you are still unable to delete that file and unlocker shows no application, then follow these steps-
    Right-click on the file you want to delete and click unlocker.
    A small window will appear.
    In the drop-down list, choose delete, and then click ok.
    Your file will be deleted on the next reboot of the system.
  • How can I restore my backup files on an external hard drive using Windows XP SP3?

    I back up my files to an external hard drive using windows XP sp2. My pc crashed and re installed with Windows XP sp3. Now I can't find the backup on the system tools utility. How can I restore my backup files. Help, please.

    Hi PML.

    Yes, I used the built in «Back to the top of the tool» Unfortunately I don't have the CD. My Netbook is a HP mini computer that comes with Windows XP home. Thank you for your help and I hope to hear from you again.

    How do you reinstall Windows?  If you have used the HP Recovery system to recover from a hidden partition, backup should have been reinstalled.

    I suggest you call HP support.

  • Is it possible to extract personal folders from my hard drive and transfer to an external hard drive if Windows does not start?

    Hello, I recently started my Windows XP Dell computer and it should start up normally unless it would run the ChkDsk utility. It would freeze then 68% on stage 1 and goes no further. I called the people of Dell and after trying so many solutions, including safe mode, safe mode with network and CommandPrompt, we ran the diagnosis. The hard drive and memory are fine, no errors. He concluded that it was the operating system and must be restored. However, I have important files, I need to extract from my hard drive and he recommended me an external hard drive. I bought it, but now I'm not sure how to extract my files from my drive hard if Windows can not even boot the desktop computer. Is it possible to extract these files without the use of the desktop computer?

    And you've burned the .iso image, and not as data? If Yes, then you have created a bootable CD. Put it in your optical drive and restart the computer. You may need to change the boot order in your BIOS. With some machines, you can get a temporary startup command menu by pressing a function such as F12 at startup. Other computers require that you enter setup and change the boot order in the optical drive first of all from there. When you start your computer it will be information about which key press to enter the BIOS (Setup) or give you the temporary boot order.

    After you changed the boot order to boot first from the CD and rebooted the computer, Knoppix will boot. Have your external hard drive connected to the computer before you start doing this. After Knoppix is finished booting, you will be in his office. It will be very similar to Windows. There are icons on the desktop for your internal hard drive and the external hard drive. Copy files from the internal to the external drive as you want. Review what I wrote about the use of Knoppix in my previous answer. MS - MVP - Elephant Boy computers - don't panic!

Maybe you are looking for

  • Qosmio DX1210 can't burn CD

    Hello I have an i5 DX1210 all-in-One, which has a BD - ROM.My problem is, it will read CDs and DVDs and I can Brown on DVD but I can't CD Brown She did it for the new, it makes no difference if I use3rd party software or is it not still comes up with

  • AT200-100 does not start after the turn off

    Hi @ all, I have a problem with my AT200-100 (bought @February 2012 in Hong Kong).In recent days, trying to find a solution.After using I turned off the tablet. When I first it overnight, it just goes to the Welcome screen "Toshiba."... "and then com

  • Microsoft software

    Hello I have the Microsoft Office for Mac 2016. Is it a simple follow the instructions on the box or I have to use the Boot Camp option to install this software?

  • HP Pavilion p6 desktop PC - 2220t

    Hi, I'm looking forward to the purchase of HP Pavilion p6 desktop PC - 2220t and the only thing I need now is to know the motherboard. I only know the chipest, but I also need to know the plug and all the other stuff like this.

  • How to generate color on the block diagram box?

    v: * {behavior:url(#default#VML) ;} O'Bryan: * {behavior:url(#default#VML) ;} w\: * {behavior:url(#default#VML) ;} .shape {behavior:url(#default#VML) ;}}}} Normal 0 false false false MicrosoftInternetExplorer4 / * Style Definitions * / table. MsoNorm