Writing PowerShell scripts
The aim of this module is to explain in theory and practice how to write PowerShell scripts: which software can be used? What file formats are available? What are the best practices for writing scripts? Etc...
In this module, we'll first explore the different code editors for PowerShell, highlighting their features and differences. We'll then move on to the file formats used by PowerShell, helping you to understand how and why different file formats are used.
After discussing PowerShell script execution strategies, we'll look at how to write a PowerShell script properly, to make it readable and maintainable: writing code isn't just about overall syntax and execution. For example, we'll look at the importance of commenting and indenting your code, and how to analyze PowerShell code with PSScriptAnalyzer.
Finally, we'll conclude this module with a summary of best practices for PowerShell scripts. By the end of this module, you'll be ready to discover additional notions for writing your first scripts.
This course is available in two other formats (in french) : paper book and digital book! This is your chance to support IT-Connect!
