Using a proper editor

The last topic of this chapter is about an editor. An editor is the proper tool for any script writer. Depending on the editor that you use, your actual scripting time may lessen. So I have decided to discuss my favorite editors here.

Sublime Text

In Mac, I use Sublime Text as my PowerShell editor. It is probably one of the most useful editors in a Mac environment. It does what it is supposed to do: work as an editor. By default, it does not support PowerShell formatting but you can add the PowerShell support by using the required packaging. Follow the instructions provided in these links and you are good to go.

First, follow the steps in this link to install the Package Control: https://packagecontrol.io/installation.

Then, ...

Get Mastering PowerCLI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.