PowerShell coding on a Mac
Because my main workstation is a MacBook pro, I use a Windows 8.1 virtual machine for most of my PowerShell coding work or I connect via RDP to my management server. But sometimes I want to quickly edit a script to send it to a coworker or friend. It is possible to edit a PowerShell script in any text editor that is available. But for PowerShell coding it handy if your editor is PowerShell language aware.
So, while looking for PowerShell ISE for MacOSX I came across Sublime. First you need to install Sublime on your Mac. To enable the PowerShell highlighting you need to download this zip file.
The content of this zip file needs to be placed in the following location:
Users\Username\Library\Application Support\Sublime Text 3\Packages
When you close Sublime and open it again the PowerShell syntax is available. When you click on the right side bottom of the Sublime window you can select PowerShell from the list.
When you open a PowerShell script, you see that Sublime is now PowerShell aware.
Was once an enthusiastic PepperByte employee but is now working at Ivanti. His blogs are still valuable to us and we hope to you too.