Speed up PowerCLI

Whilst at the last UK VMware User Group I was talking to someone who advised his PowerCLI prompt took a long time to initialise, he had the latest version (4.0 U1) and the latest version of PowerShell (V2), this is a problem I had seen before and especially when your computer is not attached to the internet and you start PowerCLI.

Symptom: The PowerShell prompt starts straight away but PowerCLI does not, if you start PowerShell normally and then add the PowerCLI snap-in it takes a good minute or so before returning back to the prompt and being ready for action.

Fix:  I had come across this before on the PowerCLI forum where someone had this exact issue and had advised us how to fix it, I thought I would blog it here, especially for him but also for the other people reading this blog and suffering with the slow start-up of PowerCLI.


Here is how to fix it:

1.  Start Internet Explorer

2.  Go to the Tools menu

3.  Go to Internet Options

4.  Go to the Advanced tab and uncheck “Check for publisher’s certificate revocation” so there is no tick in the box.


Result: PowerCLI will now start faster, especially if you are not online or behind a proxy server.

10 thoughts on “Speed up PowerCLI

  1. Pingback: Fixing PowerCLI slow loading | Demitasse

  2. Jake

    I’ll give that a try! I’ve also found that if you are not using single sign on in the domain, the login prompt for powercli takes a bit of time to come up. To force it to ask for credentials (and skip the slow credential look up) I use:

    Connect-VIServer -credential (Get-Credential)

  3. Pingback: pligg.com

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.