Skip to content

PowerShell OVF Helper

OVF Template for VMware vRealize Orchestrator 8.1

The following PowerShell snippet can be used to deploy VMware vRealize Orchestrator 8.1 using PowerShell. The VMware.PowerCLI module is required to use the script.

  1. Copy the snippet to your favorite editor
  2. Change the path to your local OVA file
  3. Fill out the variables
  4. Connect to a vCenter Server using the Connect-VIServer command
  5. Run the script
ovf-VMware-vRealize-Orchestrator-8.1.ps1:
$ovf = 'Z:\images\VMware\vSphere 7.0\O11N_VA-8.1.0.9326-15995344_OVF10.ova' # Path to OVA File
$ovfConfig = Get-OvfConfiguration $ovf
$ovfConfig.NetworkMapping.Network_1.Value = ""                           # Destination network (Portgroup)
$ovfConfig.Common.vami.hostname.Value = ""                               # The host name for this virtual machine. Provide the fully qualified domain name if you use a static IP. Leave blank to try to reverse look up the IP address if you use DHCP.
$ovfConfig.Common.varoot_password = ""                                   # This will be used as an initial password for the root user account.
$ovfConfig.Common.va_ssh_enabled = $false                                # This will be used as an initial status of the SSH service in the appliance. You can change it later from the appliance Web console. ($true or $false)
$ovfConfig.vami.VMware_vRealize_Orchestrator_Appliance.gateway = ""      # The default gateway address for this VM. Leave blank if DHCP is desired.
$ovfConfig.vami.VMware_vRealize_Orchestrator_Appliance.domain = ""       # The domain name of this VM. Leave blank if DHCP is desired.
$ovfConfig.vami.VMware_vRealize_Orchestrator_Appliance.searchpath = ""   # The domain search path (comma or space separated domain names) for this VM. Leave blank if DHCP is desired.
$ovfConfig.vami.VMware_vRealize_Orchestrator_Appliance.DNS = ""          # The domain name server IP Addresses for this VM (comma separated). Leave blank if DHCP is desired.
$ovfConfig.vami.VMware_vRealize_Orchestrator_Appliance.ip0 = ""          # The IP address for this interface. Leave blank if DHCP is desired.
$ovfConfig.vami.VMware_vRealize_Orchestrator_Appliance.netmask0 = ""     # The netmask or prefix for this interface. Leave blank if DHCP is desired.

$VMName = ""                  # Virtual Machine Display Name
$vmhost = ""                  # ESXi Host to deploy the VM
$datastore = ""               # Datastore to deploy the VM
$diskStorageFormat = "Thick"  # Thin or Thick provisionig of virtual disks

$vm = Import-VApp -Source $ovf -OvfConfiguration $ovfconfig -Name $VMName -VMHost (Get-VMHost -Name $VMHost) -Datastore $datastore -DiskStorageFormat $diskStorageFormat
#$vm | Start-VM   # Uncomment to power on the VM after creation.

Please leave a comment when you have issues with the deployment. Additional feature requests are also welcome.

Confirmed Images:
O11N_VA-8.1.0.9326-15995344_OVF10.ova

<-- Back to PowerShell OVF Helper