VMware Tools installation and upgrade tips and tricks

The VMware Tools package provides drivers (such as VMXNET3, PVSCSI, SVGA etc.) and services that enhance the performance of virtual machines and make several vSphere features easy to use. Here are some tips and tricks when working with VMware Tools: An overview of the VMware Tools versions mapping can be found here, … [Read more...]

PowerCLI installation, updating and troubleshooting tips

PowerCLI is a must have tool for every VMware Administrator when you want to automate something in your VMware environment. In this blog I highlight the installation, updating and some troubleshooting tips for deploying and running PowerCLI on Windows OSes. PowerCLI installation Uninstall PowerCLI 6.x and earlier from … [Read more...]

PowerCLI for OSX is out!

Advertise here with BSAI am not a big PowerCLI user, primary reason being that I don’t even have a Windows box available. My main laptop is a macbook, and I don’t run Windows anywhere. Yesterday PowerCLI 10.0.0 was released, which includes support for OSX! Before you can install PowerCLI of course you would … [Read more...]

vMotion between two vCenter Servers with different SSO domains

Last week i did my first vMotion between two vCenter Servers with different SSO domain by using PowerCLI. This functionality is also known as “cross vCenter vMotion” and is not included in the vSphere Web Client yet. Without downtime it’s possible to live migrate VMs from one vCenter Server to … [Read more...]

Check your VSAN disk controllers against the HCL with PowerCLI

Advertise here with BSAEvery now and then customers ask if it is possible to check if disk controllers are on the VSAN HCL for a given set of hosts through PowerCLI. Alan Renouf figured he would knock something out, thanks Alan for sharing! (Next up would be validate drivers and firmware of all components, thanks!) … [Read more...]

VMware: Disable HotPlug capability for virtual machines with PowerCLI

Last week I had to change VMX files for 500 XenDesktop machines because the users where able to eject removable devices To mass disable HotPlug capability by editing the .vmx file via PowerCLI I used the following script: $key = "devices.hotplug" $value = "false" get-cluster "CL02.XD" | … [Read more...]

VMware: Disable HotPlug capability for virtual machines with PowerCLI

Last week I had to change VMX files for 500 XenDesktop machines because the users where able to eject removable devices To mass disable HotPlug capability by editing the .vmx file via PowerCLI I used the following script: $key = "devices.hotplug" $value = "false" get-cluster "CL02.XD" | … [Read more...]

VMware: Could not connect using the requested protocol [PowerCLI]

Connecting the VMware vCenter 6.0 server with PowerCLI fails with the error: Could not connect using the requested protocol         Solution This issue occurs due to the proxy settings in the environment. To resolve this, check the proxy settings using the PowerCLI and set the proxy to “No Proxy”. … [Read more...]

VMware: Configure new vSphere 6 host with PowerCLI

Last week I upgraded my original Configure vSphere 4 PowerCLI script I created in 2011 . When you run the script with PowerShell ICE or PowerCLI you have two options: 1. Configure a new vSphere 6 host. 2. Add the new configured host to vCenter Server. I’m still not a PowerCLI Pro so.. please comment […] … [Read more...]

What VMware Horizon View PowerCLI features you like to see?

PowerCLI 6.0 R1 is released with some cool new features. One thing I missed in this announcement is improvements in the PowerCLI support for VMware Horizon View. The latest release of VMware Horizon View 6.1 still has NO PowerCLI improvements! This is a huge bummer because PowerCLI is very limited in VMware Horizon … [Read more...]