1 2 Previous Next 16 Replies Latest reply on Feb 27, 2019 8:27 AM by MCioe

    PowerCLI very slow to load on a Windows 2012R2 Server

    andrea1975 Novice

      Hi all,

      PowerCLI 5.5 is very slow to load on my Windows 2012R2 Server, I have done some tests

       

      test 1 - load PS Snapin on my worstation (Windows 8.1 64bit - SATA Hard Disk)

      PS C:\Users\MyUser>  Measure-Command {Add-PSSnapin vmware.vimautomation.core}

       

      Days              : 0

      Hours            : 0

      Minutes          : 0

      Seconds          : 1

      Milliseconds      : 871

      Ticks            : 18717065

      TotalDays        : 2.16632696759259E-05

      TotalHours        : 0.000519918472222222

      TotalMinutes      : 0.0311951083333333

      TotalSeconds      : 1.8717065

      TotalMilliseconds : 1871.7065

       

      test 2 - Load PS Snapin on a Windows 2012R2 Server not connected to the internet, CRL check enabled

       

      PS C:\Users\MyUser>  Measure-Command {Add-PSSnapin vmware.vimautomation.core}

       

      Days              : 0

      Hours            : 0

      Minutes          : 0

      Seconds          : 51

      Milliseconds      : 603

      Ticks            : 516030768

      TotalDays        : 0.000597257833333333

      TotalHours        : 0.014334188

      TotalMinutes      : 0.86005128

      TotalSeconds      : 51.6030768

      TotalMilliseconds : 51603.0768



      Test 3 - Load PS Snapin on a Windows 2012R2 Server not connected to the internet, CRL check disabled

       

      PS C:\Windows\system32>  Measure-Command {Add-PSSnapin vmware.vimautomation.core}

       

      Days              : 0

      Hours             : 0

      Minutes           : 0

      Seconds           : 16

      Milliseconds      : 323

      Ticks             : 163238507

      TotalDays         : 0.000188933457175926

      TotalHours        : 0.00453440297222222

      TotalMinutes      : 0.272064178333333

      TotalSeconds      : 16.3238507

      TotalMilliseconds : 16323.8507

       

      As you can see there is an improvement when I disable the CRL check according to this article: http://blogs.vmware.com/PowerCLI/2010/01/troubleshooting-slow-startup-with-powercli-40-u1.html

      But I still have 16 seconds to load the Snapin against 1 second only on my workstation (that has far less computational resources!)

       

      Any help is appreciated.

        1 2 Previous Next