Recommended Posts

So I'm trying to build a VM using PowerCli and I've run into an issue. I am trying to add a New-CDDrive cmdlet piping off of a New-VM entry. When looking at the parameters for New-CDDrive, I see the IsoPath and HostDevice parameters but nothing for the option of grabbing an ISO from my local hard drive. Does that not exist or is there a different parameter or method to use? IsoPath's decription says it pulls from a datastore while HostDevice says from a CD drive.

I haven't tried this, but I'd wager that ISOPATH can only utilize isos that have been uploaded to a datastore, like the description says. The VM and Host have no access to your local hard disk (or CD drive for that matter). The HostDevice is going to pull from the ESX host's CD drive, not your local CD drive.

Yes, that's true and it looks like it can't be done. An answer from the PowerCLI forums I posted to:

 

  • I'm afraid not, the option to connect a VMs CD/DVD to a local ISO file is based on a private API.

    And hence not usable from PowerCLI nor from the vSphere API

So I'll need to dump ISOs onto one of our datastores

This topic is now closed to further replies.
  • Posts

  • Recent Achievements

    • Rookie
      CHUNWEI went up a rank
      Rookie
    • Enthusiast
      the420kid went up a rank
      Enthusiast
    • Conversation Starter
      NeoToad777 earned a badge
      Conversation Starter
    • Week One Done
      VicByrd earned a badge
      Week One Done
    • Reacting Well
      NeoToad777 earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      491
    2. 2
      +FloatingFatMan
      268
    3. 3
      ATLien_0
      266
    4. 4
      Edouard
      203
    5. 5
      snowy owl
      179
  • Tell a friend

    Love Neowin? Tell a friend!