Datasheet

Chapter 1: What Is Windows PowerShell?
Using the Command console
To launch Windows PowerShell using the command console, open the command console and then type
powershell, as shown in Figure 1-13.
Figure 1-13
Using All Programs
You can also click Start All Programs Windows PowerShell V2 (CTP3), and then select and click
Windows PowerShell V2 (CTP3), as shown in Figure 1-14.
Figure 1-14
You may also see Windows PowerShell ISE (CTP3) in the Windows Program menu. The Windows Power-
Shell Integrated Scripting Environment (ISE) is a host application for Windows PowerShell. In Windows
PowerShell ISE, you can run commands and write, test, and debug scripts in a single Windows graph-
ical user interface. This book illustrates all Windows PowerShell-related cmdlets and scripts using a
command-line interface. It does not illustrate PowerShell scripts using the ISE.
Once PowerShell is launched, you can see the command prompt. The prompt in the PowerShell com-
mand window varies according to the operating system used.
To be consistent with the PowerShell window title, you could update the shortcut, as illustrated in
Figure 1-15. Right-click on the Windows PowerShell V2 (CTP3) shortcut, click Properties, and under
the General tab, update the title to ‘‘Windows PowerShell’’ and click OK.
Using Start Run
You can also launch PowerShell by clicking Start Run and typing the following:
%systemroot%
\system32\windowsPowerShell\v1.0\PowerShell.exe.
Then click OK, as shown in Figure 1-16.
11