First, if you havenâ€™t installed Sublime Text, I would suggest you go here and do that now. Itâ€™s a great text editor, with all manner of excellent features. However, it does not ship with PowerShell syntax highlighting by default. To add it, do the following:
- Download the ZIP from here: https://github.com/SublimeText/PowerShell
- Extract the zip into the â€œPackagesâ€ folder where SublimeText is installed:
Sublime Text 2/Packages
$ ls -al | grep PowerShell
drwxr-xr-xÂ Â 12 user Â 1604020879Â Â 408 Sep 29 15:52 PowerShell
- Restart SublimeText
Note: Donâ€™t run the get-vm removeVM part.. itâ€™ll end badly.