APPENDIX D

Custom Cmdlets and Advanced Functions

IN THIS APPENDIX, YOU WILL LEARN TO:

image CHOOSE BETWEEN AN ADVANCED FUNCTION AND A CMDLET 340
Parameters and Attributes 340
Output 346
Runtime Life Cycle 347
image CREATE AN ADVANCED FUNCTION 348
image CREATE A CUSTOM CMDLET 349

Although you can do plenty of things with existing commands, you may find a need that is not fulfilled by any existing commands. This is when you need to look into advanced ...

Get Automating Microsoft® Windows Server® 2008 R2 with Windows PowerShell® 2.0 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.