Chapter 1. Windows PowerShell Quick Reference

Getting Started

To launch Windows PowerShell, select Start→All Programs→Windows PowerShell 1.0→Windows PowerShell. Another option is to select Start→Run, then type "powershell". The PowerShell console window and command line prompt will appear as shown in Figure 1.

Windows PowerShell console window

Figure 1-1. Windows PowerShell console window

To use PowerShell you enter a command. This can be a program (such as ipconfig,) a PowerShell cmdlet (such as Get-Process,) or even a simple expression:

PS >5*5 + 2
27

Get Windows PowerShell Quick Reference 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.