CHAPTER 1

image

PowerShell Basics

In this chapter we will discuss what PowerShell is and do a quick review of its history. We’ll describe the two PowerShell environments, which are the Command Line Interface (CLI) and the Integrated Script Environment (ISE). The PowerShell CLI is used for the immediate execution of commands entered at a prompt. The ISE is the PowerShell development environment and is intended for the creation and debugging of scripts. By default, PowerShell will not allow scripts to be executed. Therefore, we will discuss how to enable scripting. Then we will discuss using the ISE to write scripts. We’ll review how we can customize ...

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.