January 2008
Intermediate to advanced
688 pages
19h 12m
English
In this chapter, we first examined the scripting policy provided by Windows PowerShell. We looked at the steps involved in configuring Windows PowerShell for scripting use, explored the various flow control statements, and examined scripts that use flow control for advanced scripting needs. We looked at implementing decision making in Windows PowerShell and saw how encapsulated logic can vastly simplify network administration tasks by acting upon routine events when they are presented to the script. Finally, we explored the use of regular expressions to provide advanced pattern-matching capabilities to both scripts and cmdlets.
Read now
Unlock full access