PowerCLI

  • 1.  How can I get VMware PowerCLI in Sublime Text?

    Posted Feb 28, 2020 09:09 PM
    Hey Community Friends!

    I was able to get PowerShell setup with color fonts in Sublime text but now I am trying to figure out how to get VMWare PowerClI module. Has anyone had any success with that?



  • 2.  RE: How can I get VMware PowerCLI in Sublime Text?

    Posted Feb 28, 2020 09:13 PM

    Moderator: Moved to PowerCLI



  • 3.  RE: How can I get VMware PowerCLI in Sublime Text?

    Posted Feb 28, 2020 09:25 PM

    Not sure what you are looking for.

    PowerCLI is just a set of modules on top of PowerShell.

    The same syntax colouring should apply for PowerCLI.



  • 4.  RE: How can I get VMware PowerCLI in Sublime Text?

    Posted Feb 28, 2020 10:23 PM

    T

    Thanks LucD

    When I type PowerShell commands the auto complete shows all options but when I type a PowerCLI command I don't get the same auto complete. For example if I Type Connect-Vi it does not auto complete like with PowerShell. I was wondering how I would import PowerCli module into Sublime Text.



  • 5.  RE: How can I get VMware PowerCLI in Sublime Text?

    Posted Feb 28, 2020 10:47 PM

    Afaik there is no actual PowerCLI package for auto-completion for Sublime at the moment.

    If you want tab completion for all cmdlets in all PowerShell modules, including PowerCLI, you should have a look at VSCode.
    PS: that is just a suggestion, I don't want to start a tribal war on Sublime vs VSCode :smileygrin:



  • 6.  RE: How can I get VMware PowerCLI in Sublime Text?

    Posted Feb 29, 2020 12:46 AM

    LucD​ Thank you for the suggestions. I'll check out VSCode. Thinking about it, since I am a noob at PowerShell and PowerCLI I should probably not take short cuts and practice typing out full commands :smileylaugh: