Tag: PowerCLI

New Release – DSC Resources for VMware 2.0

New Release – DSC Resources for VMware 2.0

This post was originally published on this site —The Desired State Configuration (DSC) Resources for VMware was released late last year. This initial release was able to leverage the PowerShell DSC engine in order to declare configurations for a handful of ESXi host settings and a couple vCenter server settings. The response to these resources has been amazing! So amazing that over the last 7 months, there have been 64 issues and 74 pull requests. A result of all of that feedback, input, and code contributions brings us to the next release, version Read more […]

Automating VMware Cloud on AWS SDDC Cluster Lifecycle

Automating VMware Cloud on AWS SDDC Cluster Lifecycle

This post was originally published on this site —VMware Cloud on AWS has the ability to add new clusters to an existing SDDC. This is most useful for workload separation. A cluster could be specified as the failover resource, a development environment, and so forth. However, as of Version 1.6, there’s a new reason to add new clusters to an SDDC: custom core counts! The ability to control the CPU count for hosts in a cluster is extremely important when it comes to running mission-critical applications that happen to be licensed per-core. Even Read more […]

New Release: PowerCLI 11.2.0

New Release: PowerCLI 11.2.0

This post was originally published on this site —The first release of 2019 is here! Today marks the release of PowerCLI 11.2.0 and it is an exciting one. PowerCLI now has 21 modules, to ensure you can automate roughly any VMware product. We’re adding new, and more secure, methods to authenticate. There are also improvements to existing cmdlets so you can use the latest and greatest technologies alongside the newest APIs available. PowerCLI 11.2.0 comes with the following updates: New module available for VMware HCX Added support for NSX-T Read more […]

Getting Started with the HCX Module

Getting Started with the HCX Module

This post was originally published on this site —PowerCLI 11.2.0 introduced a brand-new module that allows us to easily automate VMware HCX! The VMware.VimAutomation.HCX module adds 20 new cmdlets to already existing count of well over 600 cmdlets contained in the entire set of PowerCLI modules. This is important because HCX is one of the newest technologies VMware has released and it has some impressive power. To give a quick overview, think of VMware HCX as a swiss army knife – a single tool with multiple options to move your workloads Read more […]

Configuring VMs For Opaque Networks

Configuring VMs For Opaque Networks

This post was originally published on this site —PowerCLI has a new object to interact with, thanks to NSX-T! The Opaque Network managed object gives us the ability to interact with NSX-T provisioned logical switches as though they are port groups. Technically, it has been available for a couple releases of vSphere but the functionality was really improved here recently. Last year we released KB 65149 that included code to create a new function, named Set-NetworkAdapterOpaqueNetwork. This function could be used to assign an opaque network to a Read more […]

Documentation Walkthrough

Documentation Walkthrough

This post was originally published on this site —Documentation is an important part of the automation and development process. When I first started using PowerCLI, I found the docs to be overwhelming and confusing. As my PowerCLI knowledge grew, I started to use them more and more. Instead of frustratingly browsing the multiple levels of properties that make up vCenter objects in a terminal, I found I could easily pick them out in the docs. As part of this blog post, we’re going to walk through the available documentation, which documentation Read more […]

Moving a Datastore Cluster to a New Folder

Moving a Datastore Cluster to a New Folder

This post was originally published on this site —We often get lots of interesting requests about figuring out how to automate something. The latest request was about how to move a datastore cluster between folders. This is the type of automation action which probably doesn’t need to be used all that often and is more aesthetic in nature than anything else. However, the interesting part is that, this request came from someone that found out they couldn’t perform the action in the UI. So, PowerCLI to the rescue! Move-DatastoreCluster PowerCLI Read more […]

Obtaining Specific PowerCLI Versions from the PowerShell Gallery

Obtaining Specific PowerCLI Versions from the PowerShell Gallery

This post was originally published on this site —The recommendation is to always be on the latest and greatest version of PowerCLI. However, whether it be for testing and validation or to possibly workaround an issue, there are instances where you may need to use an older version. The PowerShell Gallery has the potential to make this process incredibly easy when using the RequiredVersion parameter for both Install-Module and Save-Module. These cmdlets download and/or install the indicated module at the specified version. The issue, especially Read more […]

New Release: PowerCLI Preview for VMware Cloud on AWS

New Release: PowerCLI Preview for VMware Cloud on AWS

This post was originally published on this site —It’s a big week for PowerCLI! We’re closing out 2018 with several new releases. The new PowerShell DSC Resources for VMware came out last week. PowerCLI 11.1.0 was released earlier today. Now, we also have a brand-new Fling to help bridge the gap between the low-level cmdlets already available and the high-level cmdlets that are so easy to use. The PowerCLI Preview for VMware Cloud on AWS adds 14 new high-level cmdlets which are used in combination with the existing VMware.VimAutomation.VMC Read more […]

New Release: PowerCLI 11.1.0

New Release: PowerCLI 11.1.0

This post was originally published on this site —As 2018 comes to a close, we have one more release for you in the form of PowerCLI 11.1.0! If you’re keeping track, that brings us to 6 official PowerCLI releases in the 2018 calendar year. To quickly summarize 2018: PowerCLI has gone multi-platform, added 2 new modules, added 25 new cmdlets, and supported new VMware product versions faster than ever! There were also quite a few other updates that involve PowerCLI, such as the Fling modules containing high-level cmdlets for NSX-T and VMware Read more […]