WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple
You are here: Home / Apple / VMware PowerCLI for Mac OS X, Linux & More? Yes, please!

VMware PowerCLI for Mac OS X, Linux & More? Yes, please!

09.06.2016 by William Lam // 10 Comments

powercli_for_mac_osx_linux_1There were a several announcements at last weeks VMworld US Conference, but one of the most exciting piece of news in my opinion was from Alan Renouf, Product Manager for all things API/SDK/CLI at VMware. During Alan's What's New PowerCLI session, he announced that PowerCLI is finally coming to both Mac OS X as well as Linux! As you can imagine, the news was very well received from customers and partners. In fact, after I had tweeted the update here & here, I literally had folks pinging/IM'ing/DM'ing me non-stop about when they could get access 🙂

UPDATE (10/18/16) - PowerCLI Multi-Platform (MP) for Linux and Mac OS X has now been released as a VMware Fling. Please find the download here and provide any feedback in the comments section.

This exciting update was only possible with the help of our friends over at Microsoft who had recently open sourced both .NET Core & PowerShell. Once that news broke, Alan and the PowerCLI Engineering team have been working hard on porting over the existing PowerCLI code which uses the Windows .NET library over to the new .NET Core which is now open sourced. I have been very impressed at how fast the PowerCLI team have already made available many of the default cmdlets as well as the Get View cmdlet which exposes the entire functionality of the vSphere API.

Now, before you get too excited, this new version of PowerCLI is currently not available yet. As Alan mentioned in his session, we plan to release an early Tech Preview of PowerCLI for both Mac OS X and Linux as a VMware Fling shortly after VMworld. It is also very important to note that Microsoft PowerShell for Mac OS X & Linux which PowerCLI uses is just at an Alpha release milestone. There is still much work to do on both sides but I am really looking forward to enabling our customers with the choice of platform when it comes to consuming PowerCLI.

powercli_for_mac_osx_linux_2
A few of us have been quite fortunate to have been involved in the early development of this new version of PowerCLI. In fact, we even built a simple Docker Container for PowerCLI which will allow you to easily access PowerCLI from any system that can run Docker. Here is a quick screenshot of spinning up a PowerCLI Docker Container which will also be part of the Fling release.

powercli_for_mac_osx_linux_3
Lastly, we want customers to be able to quickly and securely set up a persistent PowerCLI environment in which they can use to manage and configure their VMware-based products that support PowerCLI. With that, we have also built a PowerShell package for Photon OS which is VMware's minimal Linux container host distribution. Not only is it free to download and use, but it literally takes a few seconds to install (tdnf -y install powershell) and even less time to boot up and import the PowerCLI module. This was literally done the week before VMworld by the Photon team and huge kudos for their support! As you can see, not only do we want to provide choice for our customers but also simplifying how you might consume PowerCLI whether its natively on Windows, Mac OS X, Linux, Docker Container or running on top of VMware Photon OS. I hope you are excited as I am and stay tuned for more details on the Fling release!

If you have any feedback or what you are most excited regarding this news, please leave a comment and I will make sure it makes it way back to our Product Manager.

More from my site

  • PowerShell for PhotonOS on Raspberry Pi 3
  • 'System.Management.Automation.ConfigPropertyAccessor' exception when launching PowerCLI Core in Linux firstboot script
  • 5 ways to a run PowerCLI script using the PowerCLI Docker Container
  • How Wrecking Crew Inc. leveraged vSphere's Instant Clone to instantly provision hundreds of VMs
  • Configuring Github Actions self-hosted runners on PhotonOS 

Categories // Apple, Automation, Docker, PowerCLI Tags // Docker, linux, Microsoft, osx, Photon, PowerCLI, PowerCLICore, powershell, vSphere

Comments

  1. *protectedTim Carr says

    09/06/2016 at 4:24 pm

    Correct in assuming that the powershell package for photon os is also a fling that's still on the way? Doesn't appear to be available yet.

    root@photon-2XstRW6sh [ ~ ]# tdnf -y install powershell
    No package powershell available
    Error(1011) : No matching packages
    root@photon-2XstRW6sh [ ~ ]#

    Thanks to the team for all the hard work, we're really looking forward to using this!

    Reply
    • *protectedNorbs12 says

      09/06/2016 at 6:07 pm

      "Now, before you get too excited, this new version of PowerCLI is currently not available yet."

      Reply
      • *protectedTim Carr says

        09/06/2016 at 7:52 pm

        Surely I'm interested in PowerCLI, but the bit I was looking at was later in the post referring specifically to powershell. "With that, we have also built a PowerShell package for Photon OS which is VMware's minimal Linux container host distribution"

        Reply
    • *protectedTim Carr says

      09/06/2016 at 7:53 pm

      Closer look at the yum repo show's that powershell isn't there just yet. Looking forward to the release!

      Reply
      • William Lam says

        09/07/2016 at 6:20 am

        Hey Tim,

        Thanks for your interests in PowerShell/PowerCLI on Photon OS. I know Alan is looking into this to see if we can make this part of the initial Fling release as well. There's a few things we need to get squared away first but glad to see there's interests in this. It was also great meeting you at VMworld, thanks for awesome discussions.

        Reply
  2. *protectedRobert van den Nieuwendijk says

    09/06/2016 at 11:20 pm

    In my blogpost https://rvdnieuwendijk.com/2016/08/20/running-powershell-in-a-docker-container-on-vmware-photon-os/ you can see how to run PowerShell in a Docker container on Photon OS.

    Reply
    • William Lam says

      09/07/2016 at 6:22 am

      Thanks for sharing Robert, this is indeed one option to run PowerShell on PhotonOS today. What we've done internally is compiled a native PowerShell package for PhotonOS itself from source and so that rather than relying on a Docker Container, you can run it natively and installing it using tdnf package manager.

      Reply
  3. *protectedJody Whitlock says

    09/16/2016 at 8:01 am

    William, I was just talking about this with a co-worker and then we saw the post and went well alrighty then. Definitely interested in having a containerized version of PowerCLI to run on my Docker swarm.

    Reply
  4. *protectedAndrew says

    09/26/2016 at 10:06 am

    This will be great to have for Centos and red Hat versions.
    Thanks for the post

    Reply
  5. *protectedJody Whitlock says

    10/19/2016 at 5:06 pm

    Downloaded the PowerCLI Core fling and mind blown! While not complete, it's much more complete than I would've expected to be honest. Now if MS would fix their PSReadline module that would be great, but using this as a strictly remote execution engine with a Docker swarm and message queue is in the near future.

    Reply

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025

 

Loading Comments...