

To create a PowerShell script for the manual instructions in the above mentioned Citrix Knowledge Base article, I downloaded and installed VMware vSphere PowerCLI on my computer, which allows me to include these great PowerShell snap-ins to script directly against the ESX(i) host or vCenter server.


Therefore I decided to translate the instructions into my new favorite scripting language: PowerShell.
#HOW TO CHECK MAC ADDRESS OF VPX HOW TO#
Luckily for me there is a great Citrix Knowledge Base article on How To Auto-Provision NetScaler VPX on ESX(i) that offers a step-by-step guide on how to import a NetScaler VPX onto ESX(i) and provide it with a pre-configured NetScaler IP-address, using the VMware Tools Utility to manually change the Configuration Parameters of a VM.Įven though the instructions are very clear, I needed more than just manual instructions to implement this method into a DevOps automation solution. So let me share my PowerShell adventure that created an import script for ESX(i) as well!ĬTX128250: How To Auto-Provision NetScaler VPX on ESX(i) with a fixed IP address So I figured that even though the post for XenServer was great, I’d probably make more people happy by also sharing a similar script for vSphere as well. I do however realize that it is more common for customers to run a VMware vSphere Hypervisor environment than a Citrix XenServer one (not taking cloud deployments into consideration). This ensured we no longer needed to run the first time setup wizard with the console, but now can easily import a NetScaler VPX with a given IP address and have it ready for use (or configuration through NITRO). For the presentation with Hendricus Kramer on NetScaler Automation with Puppet at E2EVC in Lisbon, I used a PowerShell script to import a NetScaler VPX on XenServer with a fixed IP-address.
