Datasheet
10 CHAPTER 1
•
WHAT IS POWERSHELL, AND WHY DO YOU NEED IT?
PowerShell with a GUI
ere was no built-in GUI in PowerShell 1.0, so you had only the command console
for your PowerShell session. ere were third-party tools you could use, such as
PowerGUI (
http://powergui.org/index.jspa
).
With PowerShell 2.0, Microso added new features to take advantage of the GUI.
e following are two of the main ways you can use PowerShell’s GUI features:
▶
Integrated Scripting Environment (ISE)
▶
Out-GridView
e ISE shown in Figure 1.2 is a new GUI front-end application console for
PowerShell. However, the primary bene t of the ISE is to create, edit, and debug
PowerShell scripts. e ISE provides an easy-to-use, syntax-highlighted way to work
with your scripts, as shown in Figure 1.6.
FIGURE 1.6 ISE with a script
ere are debugging tools built in to PowerShell 2.0. Scripts are created in many
di erent tools, from the ISE to Notepad, and scripters have used a variety of
c01.indd 10c01.indd 10 4/18/2011 10:27:18 AM4/18/2011 10:27:18 AM