Skip to main content

PowerShell Basics

  • Chapter
  • 1102 Accesses

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Electronic Supplementary Material

Below is the link to the electronic supplementary material.

PPSFDD (zip 251 kb)

Rights and permissions

Reprints 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

Publish with us

Policies and ethics