Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Windows PowerShell

 

Windows PowerShell

How to Open Windows PowerShell in Windows 7
Published by Brink
10-06-2009
Default Windows PowerShell

How to Open Windows PowerShell in Windows 7

information   Information
Windows PowerShell is a command-line shell and scripting environment program included in Windows 7 that brings the power of the .NET Framework to command-line users and script writers to help IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows. It introduces a number of powerful new concepts that enables you to extend the knowledge you have gained and the scripts you have created within the Windows Command Prompt and Windows Script Host environments.

Built-in Windows PowerShell commands, called cmdlets, let you manage the computers in your enterprise from the command line. You can use each cmdlet separately, but their power is realized when you use these simple tools in combination to perform complex tasks. Windows PowerShell includes more than one hundred basic core cmdlets, and you can write your own cmdlets and share them with other users.

This tutorial will show you how to open the PowerShell command-line shell. For more detailed information on PowerShell, see: Windows PowerShell


EXAMPLE: Windows PowerShell Command-Line Shell
NOTE: If you have 64-bit Windows 7, then you will have both a 32-bit (x86) (top left screenshot below) and 64-bit (top right screenshot below) version of Windows PowerShell. You can also use Run as administrator on both of these versions to open a elevated Windows PowerShell (bottom screenshot below).
Windows PowerShell-powershell_32-bit.jpgWindows PowerShell-powershell.jpg
Windows PowerShell-powershell_admiin.jpg
Here's How:
1. Open the Start Menu, click on All Programs, expand Accessories, and expand the Windows PowerShell folder. (see screenshot below)
Windows PowerShell-start_menu.jpg
2. If you have a 64-bit Windows 7
A) Click on the Windows PowerShell (x86) shortcut to open a 32-bit Windows Powershell.
NOTE: This file is located at: C:\Windows\sysWOW64\Windowspowershell\v1.0\powershell.exe

B) Click on the Windows PowerShell shortcut to open a 64-bit Windows Powershell.
NOTE: This file is located at: C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
3. If you have a 32-bit Windows 7
A) Click on the Windows PowerShell shortcut to open Windows Powershell.
NOTE: This file is located at: C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
4. To have Windows PowerShell "Run as Administrator"
A) In step 2 or 3 above, right click on the shortcut (Start Menu) or file, and click on Run as administrator.
That's it,
Shawn



Published by
Brink's Avatar
Administrator

Join Date: Oct 2008
Location: Texas
Posts: 37,285

Tutorial Tools
11-25-2010   #1
allend66


Windows 7 Home Premium x64 OEM --> RTM clean install
 
 


Shawn, wrong way round?
A) Click on the Windows PowerShell (x86) shortcut to open a 32-bit Windows Powershell.
NOTE: This file is located at: C:\Windows\syswow64\Windowspowershell\v1.0\powershell.exe

B) Click on the Windows PowerShell shortcut to open a 64-bit Windows Powershell.
NOTE: This file is located at: C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe


My System SpecsSystem Spec
11-25-2010   #2
Brink


Windows 7 Ultimate x64 SP1
 
 


Hello Allen,

Nope, that would be the correct paths in the 64-bit Windows 7. The sysWOW64 location is for backwards 32-bit support. It does seem a bit misleading with how the folders are named though.

By default, the system32 folder has the 32-bit version in a 32-bit Windows 7, and the 64-bit version in a 64-bit Windows 7.
My System SpecsSystem Spec
Comment

 Windows PowerShell problems?



Tutorial Tools



Similar Threads for: Windows PowerShell
Windows 7 Tutorial Category
windows powershell modules Performance & Maintenance
Windows PowerShell Integrated System Environment (ISE) Tutorials
Windows 7's PowerShell 2.0 RTM Coming to Vista SP2, XP News
Windows Troubleshooting uses Powershell News


All times are GMT -5. The time now is 04:30 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30