vCloud Template Export To OVF
#ScriptDescription : =Export from Template to OVF= cls Write-Host "Export from vCloud Template to OVF with help of vCenter" -BackgroundColor DarkRed -foreground Yellow Write-Host "(Check lease and renew if needed)" -BackgroundColor Black $TemplateName = "" $DestVAppName = "" $SubStringLength = "10" Import-Module VMware.PowerCLI | Out-Null # Import-Module VMware.PowerCLI 3>$null Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -confirm:$false | Out-Null $ErrorActionPreference = 'SilentlyContinue' $WarningActionPreference = 'SilentlyContinue' $ErrorPreference = 'SilentlyContinue' $WarningPreference = 'SilentlyContinue' ##== Defining general parameters ==## [Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic') > $NULL $TemplateName = [Microsoft.VisualBasic.Interaction]::InputBox("Put Template name `n(otherwise the script will exit...)", "Template Name...