#powercli

PowerCLI Installation and Update using PowerShell Gallery Memo

Since PowerCLI 6.5.1, you no longer have a MSI file to download and install: you can now install directly from the PowerShell Gallery. When using this system, the install is done completely through PowerShell itself using the PowerShell Gallery via PowerShellGet. I’m using this post as a memo for various tips and info about the installation and update of PowerCLI via the PowerShell Gallery. Pre-requisites: Uninstall any existing version of PowerCLI PowerShell 5. ...

#api #nsx #powercli

How-To Use the new PowerCLI NSX-T Module

PowerCLI 6.5.3 was released 2 weeks ago (10 October 2017), and the major change is the introduction of the NSX-T module. Yep, you read correctly, NSX-T support in PowerCLI is here! :) Compared to PowerNSX, this module is being released as a low-level module (API access only): I’ll describe how-to use it below. NSX-T Cmdlets Three cmdlets are available: Connect-NsxtServer: quite obvious, establishes a connection to an NSX-T server. ...

#powercli #sso #vcenter

Using PowerCLI to vMotion VM between different SSO domains

This was me when I saw the Spotlight on the Move-VM Cmdlet including PowerCLI 6.5 Enhancements article as I spotted the new Move-VM native capabilities a couple months back. Well, not a big loss, but I could have published my script and this article a few weeks back. Cross-vCenter vMotion So, what’s the big deal here? vSphere environments are typically organized into data centers and clusters. The datacenter object is the highest building block of a vCenter hierarchy, and the highest-level logical boundary representing a vMotion domain. ...