Automation

 View Only
  • 1.  Deploying VApp From Content Library via PowerCLI Issues

    Posted Nov 14, 2021 08:23 AM

    So this was originally posted under the Workspace ONE discussions since it was for the Workspace ONE Access appliance.  However, after a bit of testing, it looks to be more of a PowerCLI handling of OVF Configurations between New-VM and Import-VApp.  The original post is here:

    https://communities.vmware.com/t5/Workspace-ONE-Discussions/Workspace-ONE-Access-OVF-Deployment-via-PowerCLI-Issues/m-p/2877872/highlight/true#M16347

    Short summary:

    I'm trying to import a VApp using a PowerCLI script that can either take a file location on the local system or a VApp that has been saved to a Content Library.  The Import-VApp line works as expected once you configure the OVF Configuration and the resulting VM has the following settings configured:

    vApp Options from vapp-import.png

     

    However, when I use New-VM to pull the same OVA stored in a Content Library, none of the associated network configuration settings survive the import as shown here:

    vApp Options.png

     

    It's interesting that the Timezone setting and host name configurations do make it through.  What is going on between how these two commands handle the VApp import? 

    Thanks!

    Ack



  • 2.  RE: Deploying VApp From Content Library via PowerCLI Issues

    Posted Nov 14, 2021 08:47 AM

    Which PowerCLI version are you using?



  • 3.  RE: Deploying VApp From Content Library via PowerCLI Issues

    Posted Nov 14, 2021 08:55 AM

    12.4.1.  Fresh pull from the PowerShell Gallery to a new machine. 



  • 4.  RE: Deploying VApp From Content Library via PowerCLI Issues
    Best Answer

    Posted Nov 14, 2021 10:05 AM

    I can confirm.
    I suggest opening an SR



  • 5.  RE: Deploying VApp From Content Library via PowerCLI Issues

    Posted Nov 14, 2021 10:19 AM

    Idea submitted here: https://powercli.ideas.aha.io/ideas/PCLI-I-364

    Is there another place to submit that would be better?

    Thank you for the assistance.

    Ack



  • 6.  RE: Deploying VApp From Content Library via PowerCLI Issues

    Posted Nov 14, 2021 10:27 AM

    No, that is the right place.

    If you have a Support Contract, I would in any case also open an SR.



  • 7.  RE: Deploying VApp From Content Library via PowerCLI Issues

    Posted Nov 14, 2021 10:55 AM

    Unfortunately no support contract.  I'm using my VMUG account and working with this in my Homelab.  Thank you for the assistance!

    Ack