Using PowerCLI to Deploy the Pure Storage VMware Appliance

Share on:

Now that the latest Pure Storage vSphere Client Plugin is available as a remote plugin is is now deployed as an OVA. I have put together this quick script to automate deploying of the Pure Storage VMware Appliance.

Pre-Requsites

Preparing to Execute the Script

The script is pretty straight forward, you will need to fill in the appropriate variables on the script.

$vcname = "vc01.my.lab"
$vcuser = "[email protected]"
$vcpass = "VMware1!"


$ovffile = "C:\share\pure-vmware-appliance_3.2.0-prod-signed.ova" #Online OVA https://static.pure1.purestorage.com/vm-analytics-collector/pure-vmware-appliance_3.2.0-prod-signed.ova
$cluster = "MyCluster"
$vmnetwork = "MyNetwork"
$datastore = "MyDatastore"
$vmfolder = "MyFolder"
$vmname = "pureplugin.my.lab"
$vmip = "10.21.234.27"
$netmask = "255.255.255.0"
$gateway = "10.21.234.1"
$dns1 = "10.21.234.10"
$dns2 = "10.21.234.11"
$appliancetype = "vSphere Remote Client Plugin" #"VM Analytics Collector","vSphere Remote Client Plugin", "None (Offline Installation)"
$dhcp = $false #true if dhcp, false if static

Execute the Script

Run the following command.

.\deploy-pureova.ps1

Conclusion

Hope this script helps you out, leave any feedback or questions below.

comments powered by Disqus

See Also