Windows PowerShell console

This part will handle the PowerShell console.

Starting PowerShell

This can be done on a few ways.

You could just go to the Start button > All Programs > Windows PowerShell 1.0 > Windows PowerShell

Starting PowerShell

On Vista machines you could press the Start button > type powershell into the search box and hit enter.

Starting PowerShell

Another way is to open Run

Starting PowerShell

And type powershell into the run box. (You can have this window also if you just press WindowsFlag + R on your keyboard.)

Starting PowerShell

It's also possible to start PowerShell from Command Prompt. Just type in powershell and hit enter.

Starting PowerShell

Command Prompt vs PowerShell

Command Prompt vs PowerShell

When we take a closer look to the screenshot above we see the visual differences marked in red. PowerShell has PS in the prompt and the starting message is different. Don't look at the colors because they can be changed.

PowerShell is a command line interpreter and a scripting environment. Your command prompt was only a command line interpreter which means: type something in and get output (DOS-style). PowerShell let's you script inside that console with it's own scripting language based on the .NET Framework. Another difference is that you can use some unix commands here because PowerShell has aliases for the windows commands.

Still not enough? Well you could write your own Aliases, Scripts and PowerShell Commands (cmdlets).

This is a screenshot of how PowerShell V2 looks like:

Windows PowerShell Version 2

As you can see, almost nothing changed visually. Just an updated year and the text V2 in the titlebar and description.

Adjusting the console

This can be done when you right click on PowerShell and choose for the option Properties. Find out yourself it's not that hard but I rather let it all default except changing the canvas size sometimes.

Changing console Properties

Changing the starup directory

It is possible to let your PowerShell prompt start from your own directory.

  1. Just make a new directory C:\PwrShell.net.
  2. Create a PowerShell shortcut in that directory or on your desktop. Right-click on the shortcut and select Properties.
  3. Enter the directory that you created (C:\PwrShell.net) next to the Start in: label.
  4. Click Ok and launch PowerShell by clicking on your shortcut.
steps to change the startup directory

Hooray! The startup directory has been changed :).

Keyboard shortcuts and hotkeys

Here's a little list of useful shortcuts and hotkeys while using PowerShell.