Automation

 View Only
  • 1.  Anyone using PowerCLI on AWS Lambda

    Posted Apr 30, 2019 09:53 AM

    Hi everyone

    Has anyone tried to use PowerCLI in a PowerShell AWS Lambda?

    Thanks

    Mark



  • 2.  RE: Anyone using PowerCLI on AWS Lambda
    Best Answer

    Posted Sep 03, 2019 12:32 PM


  • 3.  RE: Anyone using PowerCLI on AWS Lambda

    Posted Dec 02, 2019 12:36 PM

    Thanks for replying yezdi

    At the time of my original post I was trying to use PowerCLI 11.2 with Lambda.

    I thought something must of changed in 11.3 as that's the version you got working. So I tried with 11.5 got the same error.

    Turns out all I need to do was called out in your blog post step 10, set the Environment variable HOME to /tmp

    Now I can get PowerCLI versions 11.2, 11.3 and 11.5 to work.

    Thanks for providing the missing link!



  • 4.  RE: Anyone using PowerCLI on AWS Lambda

    Posted Oct 21, 2021 08:43 PM

    The solution link is no longer available... Anyone willing to post how they actually got this to work. I already did the HOME to /tmp but it didn't resolve the issue.