Starting Windows PowerShell on Windows Server

Letzte Aktualisierung: Oktober 2013

Betrifft: Windows PowerShell 3.0, Windows PowerShell 4.0

This topic explains how to start Windows PowerShell® and Windows PowerShell Integrated Scripting Environment (ISE) on Windows Server® 2012.

Windows PowerShell 3.0 and Windows PowerShell ISE are installed and accessible by default on Windows Server 2012, and a Windows PowerShell shortcut is pinned to the taskbar. The Windows PowerShell 2.0 engine is installed to maintain backward compatibility with host programs that cannot use Windows PowerShell 3.0.

How to Start Windows PowerShell on Windows Server 2012

Use any of the following methods to start Windows PowerShell 3.0.

On the Start screen

  • On the Start screen, click Windows PowerShell.

On the desktop

  • On the taskbar, click Windows PowerShell.

In Server Manager

  • Right-click the entry for any managed server, and then click Windows PowerShell.

  • From the Tools menu, select Windows PowerShell.

At the Command Prompt

  • In Cmd.exe, Windows PowerShell, or Windows PowerShell ISE, to start Windows PowerShell, type:

    PowerShell
    

    You can also use the parameters of the PowerShell.exe program to customize the session. For more information, see PowerShell.exe Command-Line Help.

With Administrator permissions ("Run as administrator")

  • From the Start screen, right-click the Windows PowerShell app tile, and in the app bar, click Run as administrator.

  • In Server Manager or the Desktop on the taskbar, right-click the Windows PowerShell shortcut and then click Run as Administrator.

  • On the Desktop, move the cursor to the upper right corner, click Search, type PowerShell, right-click the Windows PowerShell app tile, and in the app bar, click Run as administrator..

  • At the Windows PowerShell command prompt, type:

    Start-Process PowerShell -Verb RunAs
    

How to Start Windows PowerShell ISE on Windows Server 2012

Use any of the following methods to start Windows PowerShell ISE.

From the Start screen

  • On the Start screen, type ISE and then click Windows PowerShell ISE.

From the desktop

  • On the taskbar, right-click Windows PowerShell and then click Windows PowerShell ISE.

From Server Manager

  • From the Server Manager Tools menu, select Windows PowerShell ISE.

    When you start Windows PowerShell ISE by using this method, it starts with Administrator privileges ("Run as administrator").

  • On the taskbar, right-click Windows PowerShell and then click Windows PowerShell ISE.

    When you start Windows PowerShell ISE by using this method, it starts with the permissions of the current user.

At the Command Prompt

  • In Cmd.exe, Windows PowerShell, or Windows PowerShell ISE, to start Windows PowerShell ISE, type:

    PowerShell_ISE
    

    or

    ISE
    

    You can also use the parameters of the PowerShell_ISE.exe program to customize the session. For more information, see PowerShell_ISE.exe Console Help.

With Administrator permissions ("Run as administrator")

  • From the Start screen, type ISE, right-click Windows PowerShell ISE tile, and in the app bar, click Run as administrator.

  • On the taskbar, right-click Windows PowerShell and then click Run ISE as administrator.

  • From the Server Manager Tools menu, select Windows PowerShell ISE.

    When you start Windows PowerShell ISE by using this method, it starts with Administrator privileges ("Run as administrator").

  • At the Windows PowerShell command prompt, type:

    Start-Process PowerShell_ISE -Verb RunAs