VMware vSphere

 View Only
  • 1.  What replaces (VIX) vmrun for esxi ?

    Posted Jan 06, 2018 12:53 AM

    We've been using VIX to add files to running VMs on ESXi.

    vmrun -T esx -h ip -u root -p pass -gu root -gp pass copyFileFromHostToGuest '[ha-datacenter/DS1] PD-DP1/PD-DP1.vmx' file /home/user/file

    VIX releases after 1.14 no longer seem to support esxi as a target (just ws and player).

    "Error: The specified service provider was not found"

    Is there a preferred tool to remotely add files to VMs running on ESXi?



  • 2.  RE: What replaces (VIX) vmrun for esxi ?

    Posted Jan 06, 2018 01:00 AM

    VIX API is no more. There are current API bindings with PowerShell that will allow you to inject files into VMs via the VMware tools channel. Take a look at Copy-VMGuestFile as an example.



  • 3.  RE: What replaces (VIX) vmrun for esxi ?

    Posted Jan 06, 2018 01:43 AM

    Thanks, but we need to run it from Linux. Are there APIs available via pyVmomi or similar?



  • 4.  RE: What replaces (VIX) vmrun for esxi ?

    Posted Jan 06, 2018 01:50 AM


  • 5.  RE: What replaces (VIX) vmrun for esxi ?

    Posted Jan 06, 2018 02:03 AM

    Many thanks