O'Reilly logo

Windows PowerShell™ 2.0 Best Practices by Ed Wilson

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 9. Designing Functions

Clear-cut guidelines can be used to design scripts and ensure that they are easy to understand, maintain, and troubleshoot. In this chapter, you will examine the reasons for scripting guidelines and view examples of both good and bad code design.

Understanding Functions

In Windows PowerShell 2.0, functions have moved to the forefront as the primary programming element used when writing PowerShell scripts. This is not necessarily due to improvements in functions ...

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