O'Reilly logo

PowerShell Troubleshooting Guide by Michael Shepard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. PowerShell Professionalism

PowerShell scripters might not think of the process of writing a script as a development process, but some industry-standard development practices are appropriate to use with PowerShell, for example:

  • Naming standards
  • Source control
  • Modularization (functional decomposition)
  • Unit testing/mocking

Naming conventions

Naming conventions are not rocket science and they are certainly not unique to PowerShell. They are also not concrete rules that will cause your code to stop working if they are ignored. On the other hand, the designers of PowerShell began the language with a strong foundation of consistent naming which is one of the keys to its success. In the following sections, we will discuss several instances where ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required