Chapter 7. Creating advanced functions and modules

After completing this chapter, you will be able to

Image Understand the use of the [cmdletbinding] attribute.

Image Configure Write-Verbose to provide additional information.

Image Use parameter validation attributes to prevent errors.

Image Configure SupportsShouldProcess to permit the use of -WhatIf.

Create a module. ...

Get Windows PowerShell Step by Step, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.