Sample Exchange

 View Only

Export VMs To OVA 

May 20, 2021 09:01 AM

Assists with exporting virtual machines to OVA files

GUI that provides:

  • Selection of VMs from a list from a comma separated file that contains the VM names.
  • Selection of destination directory.

    USAGE

  • .\exportvmtoova.ps1 [vmlist.csv] [vCenterUser] [vCenterPassword]

    WHERE

  • vmlist.csv       = Comma delimited file with a VM per row. Fields required is: Name
  • vCenterUser      = Username for vCenter Server.
  • vCenterPassword  = Password for vCenter Server user.

    EXAMPLES

  • .\\exportvmtoova.ps1
  • .\exportvmtoova.ps1 mylist.csv
  • .\exportvmtoova.ps1 mylist.csv administrator@vsphere.local VMware1!

    REQUIREMENTS

  • Requires PowerCLI.
  • Change variable for vCenter.
  • List of VMs in comma separated file.

    SETUP

  • Edit the settings.ini file - Change the vSphere value for the vCenter Server, and tune the default behaviour of the script.
  • Change variable for vCenter.
  • Edit the vmlist.csv file to define your list of VMs

  • #PowerShell
    #Horizon
    #vSphere
    #MIT

    Statistics
    0 Favorited
    1 Views
    1 Files
    0 Shares
    1 Downloads
    Attachment(s)
    zip file
    Export-VMs-to-OVA-main.zip   4 KB   1 version
    Uploaded - Apr 09, 2024

    Tags and Keywords

    Related Entries and Links

    No Related Resource entered.