Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide 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
06 Oct 2009
Published by

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).
-powershell_32-bit.jpg

-powershell.jpg

-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)
Name:  Start_Menu.jpg
Views: 17949
Size:  149.1 KB
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 Run Windows PowerShell Elevated (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






25 Nov 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
25 Nov 2010   #2
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

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




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
Windows Powershell has stopped working
Been getting this error for about 3 weeks. Windows Powershell has stopped working. Went to the event viewer and here is what I found... Fault bucket , type 0 Event Name: PowerShell Response: Not available Cab Id: 0 Problem signature: P1: powershell.exe P2: 6.1.7601.17514 P3:...
Software
Windows Powershell Module
I was trying to make this work and I am not understanding. I get this error message while trying to start. Thanks
General Discussion
Batch rename in DOS or Windows Powershell
Hi - sorry if this is not the right forum - please feel free to move this is need be. So, I have this for batch renaming files in a folder: Dir | rename-item -newname { $_.name -replace "oldname","newname" } And it works like a charm. The thing I can not figure out how to do is add...
General Discussion
windows powershell modules
hi could someone help me with this please and tell me how to use it should it be enabled?
Performance & Maintenance
Windows Troubleshooting uses Powershell
While playing with the new Windows Troubleshooting Center I noticed all the Maintenance and Troubleshooting Tasks pictured below are actually powered by PowerShell scripts!! :cool::cool: It really shows how Microsoft value Powershell`s Power to build an entire Troubleshooting and...
News

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 03:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App