How to setup a Powershell Environment to manage VMware

  1. Make sure .NET Framework 4.5 is installed (HERE)
  2. Make sure that Powershell 3.0 is installed (do not use 4.0 as it breaks add-ins) (HERE)
  3. Install vSphere PowerCLi (HERE)
  4. open PS and run:  Set-ExecutionPolicy -ExecutionPolicy unrestricted
  5. Close and reopen PS and create a new profile by running:  New-item –type file –force $profile
  6. Run the following:  Notepad $profile
  7. Paste the following into the file:
    1. Add-PSSnapin VMware.VimAutomation.Core
      Add-PSSnapin VMware.VimAutomation.Vds
      Add-PSSnapin VMware.VimAutomation.License
      Add-PSSnapin VMware.DeployAutomation
      Add-PSSnapin VMware.ImageBuilder
      Add-PSSnapin VMware.VimAutomation.Cloud
  8. Save the PS1 file on your desktop and open a session via the shortcut.

 

Continue Reading

How to capture OVFTool logs to troubleshoot Client Support Plugin issues in vCloud Director

Follow the steps given below to capture OVFTool logs:

  1. Open vCD UI in browser by adding ?debug=true at the end. For example see URL: https://xx.xxx.xxx.xx/cloud/?debug=true
  2. Now reproduce the issue
  3. Collect the client logs from the client machine. If client machine is windows, then the logs will be at following location:
    1. %TEMP%\VMwareClientSupportPlugin\
Continue Reading

Lenovo Superfish

Just wanted to give you a heads up that if you or friends/family are looking to buy a new computer you may want to steer clear of Lenovo. They are installing a trusted certificate so they can see (MiTM) all your traffic so they can target you with ads better. But they are doing this for every site you visit, including your bank so who knows what information they can see.

Continue Reading