CHAPTER 2

image

The PowerShell Language

In this chapter, we will introduce the PowerShell language. We will start by considering some of the challenges faced when learning PowerShell, which can be discouraging. Then we will review a simple script so as to get a feel for the language. From there we will discuss comparison and mathematical operators and logical operands. PowerShell commands are called cmdlets, pronounced command-lets. We’ll discuss Microsoft’s cmdlet naming conventions, then review of some of the most prominent cmdlets. After this, we’ll discuss how to use variables and go over the supported data types. PowerShell has advanced support ...

Get Pro PowerShell for Database Developers 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.