Writing Powershell scripts can become a colossal task, due to the quantity of commands and switches available. Thats why syntax highlighting, auto complete and easy to access help guides becomes super useful to use and understand variable types, function definitions, and imported modules. The three options below have a cost free license.
PowerShell ISE
Powershell ISE (Integrated Scripting Environment) is the native application in Windows. It’s possible to write and run commands, and debug and test scripts in a single window. The ISE provides multi line editing, tab completion, syntax coloring, selective execution and context-sensitive help.
Notepad++
Notepad++ is an open source code editor that supports several languages. Some of the features include syntax highlighting and folding, auto-complete for words and functions completion and parameters.
Visual Studio Code
Visual Studio Code is a lightweight and free, but powerful source code editor made available by Microsoft. The features include syntax highlighting and auto complete with IntelliSense, which provides smart completions based on variable types, function definitions, and imported modules. It has extensive support, lots of extensions, supports multiple languages and its possible to add modules.