VMware Cloud Community
markdjones82
Expert
Expert

Editor with Syntax Highlighting

All,

  I am currently using Powergui, but I've noticed the VMware powerpacks stop at 4.1.  I assume this means any of the new cmdlets will not show up with highlighting?  Is there an editor that has the syntax highlighting for the newer cmdlets?

http://www.twitter.com/markdjones82 | http://nutzandbolts.wordpress.com
0 Kudos
4 Replies
rtunisi
Contributor
Contributor

you can use Powershell ISE and load powercli on the posh inside... just run the startup script on the screen or make an alias like

Function Load-PowerCli{

  . "C:\Program Files\VMware\Infrastructure\vSphere PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1"

}

it loads all the current cmdlets into the autocomplete and syntax highlighter

0 Kudos
markdjones82
Expert
Expert

Nevermind, I'm a bonehead lol.  I forgot they have snap in's that I need to load although in powergui they don't seem to be higlighting the latest cmdlets still.  I'm also checking out Luc's favorite powershell plus Smiley Happy

http://www.twitter.com/markdjones82 | http://nutzandbolts.wordpress.com
0 Kudos
LucD
Leadership
Leadership

I just did a short overview of the ones I know about, see 1.  Re: Free PowerCLI Editor


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
Steve_Jin
Expert
Expert

Here is an online one I just created: GitHub - DoubleCloudInc/powercli-sketchpad: Sketchpad for VMware PowerCLI It's open sourced under MIT license. To use it:

PowerCLI SketchPad - DoubleCloud

Steve JIN Author of VMware VI and vSphere SDK; Creator of open source VI Java API (http://vijava.sf.net); Blogger at http://www.doublecloud.org
0 Kudos