O'Reilly logo

Windows PowerShell in Action, Third Edition by Bruce Payette Richard Siddaway

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 7. Advanced functions and scripts

This chapter covers

  • PowerShell scripts
  • Writing advanced functions and scripts
  • Dynamic parameters
  • Default parameters
  • Documenting functions and scripts

And now for something completely different . . .

Monty Python

In chapter 6 we introduced the basic elements needed for programming in PowerShell when we looked at PowerShell functions. In this chapter, we’re going to expand your repertoire by introducing PowerShell scripts.

Note

If you skipped chapter 6, you should probably go back and read it before proceeding. Why? Because all the material we covered on functions also applies to scripts.

Once we’re finished with the basics of scripts (which won’t take long), we’ll move ...

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