none
PS 2.0 - VMware support RRS feed

  • General discussion

  • Hi,

    On our server Powershell version is 2.0. How can i interact with VMware and Start/Shutdown a machine? In my google search i found that there are PowerCLI available. But it requires PS > 5.0 version. Are there any workaround without upgrading my Powershell?


    sekhar

    • Changed type Bill_Stewart Tuesday, December 11, 2018 9:02 PM
    • Moved by Bill_Stewart Tuesday, December 11, 2018 9:02 PM This is not third-party support forum
    Wednesday, July 18, 2018 12:44 PM

All replies

  • On our server Powershell version is 2.0. How can i interact with VMware and Start/Shutdown a machine? In my google search i found that there are PowerCLI available. But it requires PS > 5.0 version. Are there any workaround without upgrading my Powershell?

    You will need to ask the vendor that question. This forum is for scripting questions.


    -- Bill Stewart [Bill_Stewart]

    Wednesday, July 18, 2018 1:26 PM
  • Hi.

    What version of VMware do you run?

    If you run up to 5.5, you could install PowerCLI version 5.8 Release 1

    This one supports Powershell Version 2.

    Open Powershell console and run:

    Get-PSSNapin -Name *vmware* -Registered

    When you find which snapin you want to add, run this command:

    Add-PSSnapin -Name 'snapin_you_want_to_add'

    You have to have PowerCLI installed first though.

    I would strongly suggest that you update Powershell version to at least 4.0 (higher - better).

    With the latest PowerCLI, VMware ditched snapins for Modules.

    Get-Module -Name *VMware* -ListAvailable | Import-Module -Force


    Please click on Propose As Answer or to mark this post as and helpful for other people. This posting is provided AS-IS with no warranties, and confers no rights.

    Wednesday, July 18, 2018 1:41 PM