This module provides a framework to provide a normalized set of parameters to import virtual appliances in OVA or OVF formats into VMware vSphere environments via PowerCLI.
It would be a nice feature if the appliances functions supported the WhatIf common parameter.
This would allow the caller to check the validity of his parameters without actually importing the OVA
The Confirm-BackingNetwork function only supports distributed switches.
When one passes a PortGroup on a VSS, the function returns an error "Cannot validate argument on parameter 'VDSwitch'"
The way the appliances functions are loaded (through dot-sourcing), does 't support auto-loading.
The module has to be loaded explicitly through Import-Module.
When trying to import the vApp and the VM already exists, the import will fail.
To allow the user to specify that the existing VM can be removed before the import, the NoClobber switch can be set to $false