Abstract
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 Editor (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 the ISE settings to fit our needs. Then we’ll run a script with a bug in it to see how PowerShell displays error messages.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Electronic Supplementary Material
Below is the link to the electronic supplementary material.
Rights and permissions
Copyright information
© 2015 Bryan Cafferky
About this chapter
Cite this chapter
Cafferky, B. (2015). PowerShell Basics. In: Pro PowerShell for Database Developers. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0541-9_1
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0541-9_1
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0542-6
Online ISBN: 978-1-4842-0541-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books