Skip to Main Content
PowerShell in Depth
book

PowerShell in Depth

by Don Jones, Jeffery Hicks, Richard Siddaway
February 2013
Intermediate to advanced content levelIntermediate to advanced
632 pages
20h 20m
English
Manning Publications
Content preview from PowerShell in Depth

Chapter 19. PowerShell’s scripting language

This chapter covers

  • Logical conditions
  • Loops
  • Branching
  • Code formatting

Although we firmly maintain that PowerShell isn’t a scripting language, it does—like many command-line shells—contain a scripting language. This language can prove useful when you want to automate complex, multipart processes that may require different actions to be taken for different scenarios. PowerShell’s language is definitely simple, consisting of less than two dozen commands usually referred to as keywords, but it’s more than adequate for most jobs. The ability to use cmdlets, functions, and .NET negates the pure language deficiencies. The language’s syntax is loosely modeled on C#, which lends it a strong resemblance ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PowerShell in Depth, Second Edition

PowerShell in Depth, Second Edition

Don Jones, Richard Siddaway, Jeffery Hicks
PowerShell in Practice

PowerShell in Practice

Richard Siddaway

Publisher Resources

ISBN: 9781617290558Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link