O'Reilly logo

Pro PowerShell for Database Developers by Bryan Cafferky

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 3

image

Advanced Programming

So far, we have just scratched the surface of what PowerShell can do—many books stop there. This can leave the reader with the impression that PowerShell is fairly limited as a development platform. This chapter will dispel that notion by discussing a wide variety of advanced programming techniques. We’ll start by discussing the use of parameters to support code reusability. This leads into a discussion of the CmdletBinding attribute, which causes PowerShell to add a number of powerful features to the code, including parameter validation, parameter sets, and support for PowerShell’s common parameters. We will then ...

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