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

    • Vivaldi 7.4.3684.50 by Razvan Serea Vivaldi is a cross-platform web browser built for – and with – the web. A browser based on the Blink engine (same in Chrome and Chromium) that is fast, but also a browser that is rich in functionality, highly flexible and puts the user first. A browser that is made for you. Vivaldi is produced with love by a founding team of browser pioneers, including former CEO Jon Stephenson von Tetzchner, who co-founded and led Opera Software. Vivaldi’s interface is very customizable. Vivaldi combines simplicity and fashion to create a basic, highly customizable interface that provides everything a internet user could need. The browser allows users to customize the appearance of UI elements such as background color, overall theme, address bar and tab positioning, and start pages. Vivaldi features the ability to "stack" and "tile" tabs, annotate web pages, add notes to bookmarks and much more. Vivaldi 7.4.3684.50 changelog: [Chromium] Update to 136.0.7103.170 [Crash][Mail][JSError] RangeError: Maximum call stack size exceeded (VB-115288) Download: Vivaldi 64-bit | 125.0 MB (Freeware) Download: Vivaldi 32-bit | ARM64 View: Vivaldi Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I must be doing something right because I feel like I don’t really come across that many cheaters. I’m not saying you don’t, I just must be really lucky.
    • That’s a real shame, he’ll be greatly missed.
    • Supply and demand. Competition is a good thing.
  • Recent Achievements

    • Apprentice
      Adrian Williams went up a rank
      Apprentice
    • Reacting Well
      BashOrgRu earned a badge
      Reacting Well
    • Collaborator
      CHUNWEI earned a badge
      Collaborator
    • Apprentice
      Cole Multipass went up a rank
      Apprentice
    • Posting Machine
      David Uzondu earned a badge
      Posting Machine
  • Popular Contributors

    1. 1
      +primortal
      538
    2. 2
      ATLien_0
      264
    3. 3
      +Edouard
      192
    4. 4
      +FloatingFatMan
      182
    5. 5
      snowy owl
      135
  • Tell a friend

    Love Neowin? Tell a friend!