O'Reilly logo

Windows PowerShell™ 3.0 Step by Step 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 7. Creating Advanced Functions and Modules

After completing this chapter, you will be able to:

  • Understand the use of the [cmdletbinding] attribute.

  • Use parameter validation attributes to prevent errors.

  • Configure shouldprocess to permit the use of -whatif.

  • Configure Write-Verbose to provide additional information.

  • Create a module.

  • Install a module.

Advanced functions incorporate advanced Microsoft Windows PowerShell features and can therefore behave like cmdlets. They do not have to be complicated. In fact, advanced functions do not even have to be difficult to write or to use. What makes a function advanced is the capabilities it possesses that enable it to behave in a similar manner to a cmdlet. Back during the beta of Windows ...

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