Release

PowerCLI 12.4 – What’s New

Hello everyone, It is time for you to update the PowerCLI module to the latest one, which is PowerCLI 12.4. The PowerCLI 12.4 is a very significant update with regards to how you will work with the REST APIs. Until now, we have had two major vSphere API bindings available for PowerCLI, and these are-

  • Get-View (SOAP API bindings)
  • Get-CISService (JSON-RPC)

Both of these API bindings are quite famous and still relevant for PowerCLI users. With PowerCLI 12.4, we’re introducing additional API binding for accessing the vSphere REST APIs. The new PowerCLI API bindings significantly improve the usability of working with vSphere REST APIs and provide PowerShell native user experience.

How to use vSphere Automation API SDK Module?

Update the current PowerCLI module to PowerCLI 12.4, and it will download a new set of PowerCLI modules packaged under ‘VMware.Sdk.vSphere’. This is a new manifest module containing sub-modules for all the REST APIs available for vSphere.

REST APIs have methods to execute the API and data structures to be used as an input to the API. The new API bindings provide low-level PowerShell functions to deal with the methods and data structure.

Invoke-

      The invoke function will be used to execute the REST methods, such as GET/PUT/POST and DELETE.

Initialize-

The Initialize function will be used to create the data structure which will be used as an input for REST API. For, Example Create a Local account.

Updated vSphere API Documentation

The vSphere API Documentation is updated with PowerCLI examples to invoke the respective REST API via PowerCLI. For example, check out the REST API documentation of Create Local Accounts, and you can find the example to invoke the same API using PowerCLI.

The new vSphere Management Module

A new module is introduced for vSphere Management. It is a PowerShell-based module backed by the newly introduced vSphere Automation API SDK modules. You can actually explore the source code of this module and understand how we have created PowerCLI cmdlets by leveraging the Invoke and Initialize functions provided by the new REST API bindings. Currently, the module contains 6 cmdlets to complement certificate management. Explore the cmdlet documentation to know more.

Add-VITrustedCertificate

Get-VIMachineCertificate

Get-VITrustedCertificate

New-VIMachineCertificateSigningRequest

Remove-VITrustedCertificate

Set-VIMachineCertificate

Other Improvements

  • Upsizing VMC SDDC
  • Copy-DatastoreItem is modified to support upload/download of vmdk files from vSAN datastore
  • API bindings in the Horizon module have been updated with the API features of the latest Horizon 8.3.

New PowerCLI Logo

We are updating the PowerCLI logo to adhere to the new VMware brand guidelines. You can access the new logo files from here.

 

 

To wrap this up, I would conclude that the new API bindings provide you the native PowerShell experience while working with REST APIs. Please check out the PowerCLI 12.4 release notes for more details on the improvements and bug fixes.

 


Certificate issue while upgrading
You may encounter a certificate error while updating the existing PowerCLI module via Update-Module, as discussed here.

This is due to the fact that the certificate we used to sign the modules was replaced with a new one from a new publisher. To resolve this issue, you may be required to delete the existing module and re-install the module with the Install-Module cmdlet.


 

Comments

29 comments have been added so far

  1. Where is the documentation for the VMware.Sdk.vSphere* cmdlets (besides the examples from the REST documentation)? If the goal was to create a more “native” powershell experience, why use Invoke-* instead of Get-, Set-, New-,Add-,Remove- verbs as appropriate?

  2. To correctly uninstall/install this, I had to use this command sequence:
    Get-InstalledModule VMware.PowerCLI | Uninstall-Module -force | install-module vmware.powercli -scope AllUsers -force -SkipPublisherCheck -AllowClobber

  3. Why is Import-Module VMware.PowerCLI so much slower now. Running it on 12.3 takes at most 10 seconds. On 12.4 it takes more than 2 minutes.

  4. Hello! Nice to meet you, I say . The name of the community I run is 해머캔디 , and the community I run contains articles similar to your blog. If you have time, I would be very grateful if you visit my site .

  5. Good release!
    What is great about the era of technological development is that you can come across lots of truly beneficial options on the Internet. The only thing you are supposed to do is to allocate some time to searching. Our coursework writing agency has a lot to offer. You will make sure that picking our agency has been a very reasonable decision. The way you spend your leisure time is your decision. Choose something you love and relax. The order will be completed and delivered within the shortest period of time. We keep all the promises we give.

  6. What a great article! Thanks for sharing a wonderful information. This is exciting and fun to read, I have gain more knowledge because of this. Good work!

  7. Your work is really good and I appreciate this information. I forever prefer to read quality and glad I found this thing in your post. Thank you for the comprehensive article.

  8. I am looking for some good blog sites for studying. I was searching over search engines and found your blog site. Well i like your high quality blog site design plus your posting abilities. Keep doing it.

  9. One of the most important equipment and goods that has been of special importance in human life since the past is carpets and textile products; Because the use of these devices helps in creating a sense of comfort and peace in humans. Meanwhile, one of the most unique and popular types of carpets are hand-woven carpets, which are among the ancient Iranian products. Here, the question that may arise for buyers is, what is a handmade carpet? Be careful that the word “carpet” is an Arabic phrase that has a broad meaning and refers to items such as carpets and rugs.
    https://www.cyruscrafts.com/categories/20/handmade-rugs-carpets

  10. The type of rug you choose for the bedroom will depend on the appearance you want for the room and its purpose. Area rugs are incredible for covering large spaces. If you want something cozy to step onto when you get up, runners can also be a great addition to the sides of your bed. The bedroom is typically a low-traffic area, so plush cozy rugs are also great. Don’t feel confined to a rectangle rug; round rugs can also be a good choice.
    https://www.cyruscrafts.com/blog/news/how-to-choose-the-right-rug-sizes-for-king-bed-rug-size-guide

  11. Exciting news! PowerActions for the vSphere Web Client sounds like a fantastic addition to the VMware flings lineup. I’m always on the lookout for tools that can improve my efficiency and this looks like it will do just that. Can’t wait to try it out and see how it enhances my vSphere experience. Thanks for the heads up! https://www.blogaraby.com

  12. Saffron is famous in various cuisines for its rich flavor and color. An exotic spice derived painstakingly from the flowers of Crocus Sativus, high quality Saffron is also known for its medicinal properties and forms a part of several Persian recipes.
    The nine months of pregnancy journey are no less than a roller coaster ride. From food cravings, backache, and nausea to the excitement of welcoming a new member to the family, pregnancy is the most cherished time in a woman’s life. It’s an emotion that cannot be explained in words.
    https://www.cyruscrafts.com/blog/news/saffron-for-pregnancy-don-t-forget-to-use-saffron-during-pregnancy

  13. Is Saffron safe to consume during pregnancy?
    Yes, consuming Saffron during pregnancy is safe because it has numerous medicinal properties. It helps to relieve stress, aches and pains, mood swings, and pregnancy discomforts. However, Saffron also has specific adverse effects if taken in large amounts. It can trigger contractions and cause premature delivery. Here are a few precautions to keep in mind when adding Saffron to your diet:

    Consume Saffron only at the onset of the fifth month of gestation, as the pregnancy is stable at this time, and the risk of endangering the baby due to premature contractions is reduced.
    Use only two to three strands, at most, in any preparation, as excessive Saffron may adversely affect your health.
    Saffron for pregnant women should be sourced only from a high-quality vendor to eliminate any risk of artificial coloring or impurities.
    To learn how to distinguish genuine Saffron from fake Saffron, read our article on how to determine saffron quality.

    https://www.cyruscrafts.com/blog/news/saffron-for-pregnancy-don-t-forget-to-use-saffron-during-pregnancy

  14. The article was great. Thank you very much. you can also read my article about trendy outfit and fashionable style. Like every year, 2023 has its own trends. But it’s not that hard! It can be said that the hijab clothing trends of 2023 are one of the simplest years in the fashion world. Let’s get to know some general hijab style trends this year:
    https://www.cyruscrafts.com/blog/news/hijab-ouftit-ideas-how-to-be-fashionable-with-hijab-style

Leave a Reply

Your email address will not be published. Required fields are marked *