Automation

 View Only
  • 1.  Export-vApp PowerShell Error

    Posted May 12, 2020 11:57 PM

    Hi folks,

    I am reasonably new to PowerShell - PowerCLI and attepting to export a VM from ESXi to OVA format.  All of the required CLI syntax works with exception of "Export-VApp"; I get the following error below and looking for a resolution please.

    Export-vApp PowerShell Error

    Export-vApp : 13/05/2020 9:24:38 AM     Export-VApp             Current license or ESXi version prohibits execution of the requested operation.

    At line:1 char:51

    + ... iance_v1200_dhcp_1" | Export-vApp -Destination "C:\Utils" -Format OVA

    +                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [Export-VApp], RestrictedVersion

        + FullyQualifiedErrorId : Client20_VappServiceImpl_ExportVApp_Error,VMware.VimAutomation.ViCore.Cmdlets.Commands.ExportVApp

    My ESXi Environment:

    Client version: 1.33.4

    Client build number: 14093553

    ESXi version:6.7.0

    ESXi build number: 14320388

    Thank you!



  • 2.  RE: Export-vApp PowerShell Error

    Broadcom Employee
    Posted May 13, 2020 08:08 AM

    What troubleshooting have you done around the error?

    Current license or ESXi version prohibits execution of the requested operation.



  • 3.  RE: Export-vApp PowerShell Error
    Best Answer

    Broadcom Employee
    Posted May 13, 2020 08:19 AM

    Looks like you got your answer in another thread: Re: export-vAPP