Windows PowerShell

    Windows PowerShell

    Windows PowerShell

    How to Open Windows PowerShell in Windows 7
    Published by
    Designer Media Ltd


    How to Open Windows PowerShell in Windows 7


       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.jpg

    Windows 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 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








  1. Posts : 385
    Windows 7 Home Premium x64 OEM --> RTM clean install
       #1

    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 Computer


  2. Posts : 72,176
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 22:48.
Find Us