VMware vSphere PowerCLI

You have to be excited as a VMWare fan. Wow this has to be the best day of my life right? Man I cant wait to check out some of the new vSphere 4 tool sets. Mainly, since we over here (and our 15 readers) do enjoy powershell, and to some extent VMware, lets take a quick look at PowerCLI, and then a quick view of the newer VMware PowerShell Cmdlets!

There are a few requirements prior to running PowerCLI.

  1. Download and install PowerShell 1.0 from Microsoft.
  2. Download Microsoft .NET Framework 2.0
  3. Download PowerCLI from VMware's website - sysadmintools. 

Now fire off vSphere Powershell and let it welcome you with its cryptic warning, which is basically telling you to allow for auto-generated cirtificate. Since the VMware cirt needs to be trusted you will need to adjust the powershell security settings locally to allow the libraries to run properly.  Click on "Continue" start the process.

powershell_execution_policy.jpg

Since you are going to want to allow unsigned and untrusted scriptes to execute, key in the following here from your shell -->  powershell Set-ExecutionPolicy RemoteSigned

The above will get your install working hopefully, next lets check out some of the VMware PowerShell Cmdlets.