WINDOWS POWERSHELL (INSTALLATION / CONFIGURATION)
Description: Windows PowerShell 1.0 on Windows XP, Windows Server 2003 and Windows Vista is available via the PowerShell 1.0 setup package. Windows Server 2008 and Windows 7 include PowerShell with the Operating System. Windows Server 2008 includes PowerShell 1.0 and Windows 7 includes PowerShell 2.0.
Scoping the Issue: The list below outlines the different download locations for Windows PowerShell 1.0:
- How to Download Windows PowerShell 1.0
- Windows XP English = Microsoft KB Article 926139
- Windows XP Localized = Microsoft KB Article 926140
- Windows XP MUI = Microsoft KB Article 926141
- Windows Vista = Microsoft KB Article 928439
- Windows Server 2003 English = Microsoft KB Article 926139
- Windows Server 2003 Localized = Microsoft KB Article 926140
- Windows Server 2003 MUI = Microsoft KB Article 926141
On Windows Server 2008, you can enable PowerShell via Server Manager under Features, Add Features, Windows PowerShell.
Note: PowerShell requires the installation of .NET Framework v2.0.
Data Gathering: In all instances, collecting either MPS Reports with the General, Internet and Networking, Business Networks and Server Components diagnostics, or a Performance-oriented MSDT manifest must be done. PowerShell records any errors to the Event Logs with an Event Source of PowerShell.
Troubleshooting / Resolution: PowerShell installs itself in the following folder location(s):
- x86-based versions of PowerShell 1.0: %windir%\system32\WindowsPowerShell\V1.0
-
x64-based versions of PowerShell 1.0:
- %windir%\system32\WindowsPowerShell\V1.0
- %windir%\syswow64\WindowsPowerShell\V1.0
Registry information regarding PowerShell is stored in HKLM\SOFTWARE\Microsoft\PowerShell
Additional Resources:
- PowerShell main page
- Windows PowerShell Blog
- What’s new in Windows PowerShell (Version that comes with Windows 7)
- Microsoft KB Article 941660: Windows PowerShell 1.0 does not work correctly with custom locales or with programs that prevent Windows PowerShell 1.0 from accessing the root of each file system drive in Windows Vista, in Windows Server 2003, and in Windows XP
- Microsoft KB Article 947033: Error message when you try to install Windows PowerShell 1.0 in Windows Server 2008: "Not enough storage is available to process this command"
- Microsoft KB Article 944332: User Creation via PowerShell Did Not Succeed When Using LoadGen on Exchange Server 2007
- Microsoft KB Article 950376: You cannot upgrade a Windows-based operating system when you have Windows PowerShell 1.0 installed
- Microsoft KB Article 949536: PowerShell commands for the Exchange 2007 Edge server role do not work as expected after you uninstall an update rollup or an interim update on the Edge server