Microsoft Windows PowerShell is a new command-line shell and scripting language that is designed for system administration and automation. Windows PowerShell lets IT professionals and developers control and automate the administration of Windows and applications. Also, Windows PowerShell is built on the Microsoft .NET Framework.
Windows PowerShell includes the following features:
- More than 130 command-line tools ("cmdlets") that you can use to perform common system administration tasks. These tasks include managing services, managing processes, managing event logs, managing certificates, modifying the registry, and using Windows Management Instrumentation (WMI).
- Command-line tools that are easy to learn and easy to use. These tools have standard naming conventions and common parameters. The tools also include simple tools to sort, to filter, and to format data and objects.
- Support for existing scripting languages, for existing command-line tools, and for multiple versions of Windows. These versions include Windows XP, Windows Server 2003, Windows Vista, and Windows Server 2008.
- Features that let users browse data stores as if they were file systems. These data stores include the registry and certificate stores.
- Standard utilities for managing Windows data in different stores and formats. These stores and formats include Active Directory Service Interfaces (ADSI), Windows Management Instrumentation (WMI), COM objects, ActiveX Data Objects (ADO), HTML, and XML.
- Sophisticated expression parsing and manipulation of objects in the .NET Framework at the command line. This manipulation includes the pipelining of objects to help IT professionals work more efficiently and effectively.
- An extensible interface that enables independent software vendors and enterprise developers to build custom cmdlets. You can use custom cmdlets to meet unique application and system administration requirements.
For more information about Windows PowerShell, visit the following Web sites:
Installation folders
Windows PowerShell 1.0 is supported on 32-bit systems and on 64-bit systems. The 64-bit systems may be x64-based or Itanium-based.
Windows PowerShell 1.0 uses Package Installer technology for Windows XP-based and for Windows Server 2003-based installations. The location of the Windows PowerShell installation folder is not configurable.
On 32-bit versions of Windows, Windows PowerShell 1.0 is installed in the following folder:
%windir%\System32\WindowsPowerShell\V1.0
Note In this folder, %windir% represents the Windows system folder. Typically, this folder is C:\Windows.
By default, both the 32-bit and 64-bit versions of Windows PowerShell are installed in the following locations on x64-based and Itanium-based versions of Windows:
- The 64-bit version of Windows PowerShell is installed in the following folder:
%windir%\System32\WindowsPowerShell\V1.0
- The 32-bit version of Windows PowerShell is installed in the following folder:
%windir%\Syswow64\WindowsPowerShell\V1.0
Note In these folders, %windir% represents the Windows system folder. Typically, this folder is C:\Windows.
System requirements
- Microsoft Windows Server 2003 R2, Microsoft Windows Server 2003 with Service Pack 2, Microsoft Windows Server 2003 with Service Pack 1, or Windows XP with Service Pack 2
- The Microsoft .NET Framework 2.0 (2.0.50727)
To install the .NET Framework 2.0, visit the following Microsoft Web site to download the .NET Framework Version 2.0 Redistributable Package:
Restart requirements
You do not have to restart the computer after you install Windows PowerShell.
A restart is required only when another program is using files that are being installed or uninstalled. This scenario occurs only when the same version of Windows PowerShell was installed and has not been completely uninstalled. If these files are being used, a restart prompt appears unless the installer is running in unattended mode.
How to uninstall Windows PowerShell
You cannot install Windows PowerShell 1.0 if it is already installed. To determine whether Windows PowerShell 1.0 is installed, locate the
Install registry entry in the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Powershell\1\Install
If the value of the
Install entry is 1, Windows PowerShell 1.0 is installed. If the
Install entry is not present, Windows PowerShell 1.0 is not installed.
How to uninstall Windows PowerShell after you install a service pack
Windows PowerShell 1.0 is packaged as a Windows update. If you install a Windows service pack as an upgrade after you install Windows PowerShell 1.0, you cannot uninstall Windows PowerShell 1.0. The service pack upgrade installer removes the uninstallation programs for all Windows updates. This includes the Windows update that installs Windows PowerShell 1.0.
If you install a service pack as an update from Microsoft Update or from Windows Update, the service pack update does not remove the Windows PowerShell 1.0 uninstaller. Only an upgrade removes the uninstaller.
If you have installed a service pack as an update, you can uninstall Windows PowerShell 1.0. However, you should uninstall the service pack update before you uninstall Windows PowerShell 1.0. Uninstalling the Windows PowerShell 1.0 update after you apply a service pack update is considered uninstalling in the wrong order. This might jeopardize the operating system. Updates should only be uninstalled in the reverse order in which they were installed.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
823836 Removing Windows software updates in the wrong order may cause the operating system to stop functioning
How to uninstall Windows PowerShell in Windows XP
In Windows XP, follow these steps to uninstall Windows PowerShell 1.0:
- Click Start, click Run, type appwiz.cpl, and then click OK.
- Click to select the Show updates check box.
- In the Currently installed programs list, click Windows PowerShell(TM) 1.0, and then click Remove.
- Follow the instructions to remove the following entry:
Windows PowerShell(TM) 1.0
.
How to uninstall Windows PowerShell in Windows Server 2003
In Windows Server 2003, follow these steps to uninstall Windows PowerShell 1.0:
- Click Start, click Run, type appwiz.cpl, and then click OK.
- Click to select the Show updates check box.
- In the Currently installed programs and updates list, locate the entry for the hotfix that installed Windows PowerShell 1.0. The hotfix entry will resemble one of the following entries, depending on the installation package that was used:
- Hotfix for Windows Server 2003 (KB926139)
- Hotfix for Windows Server 2003 (KB926140)
- Hotfix for Windows Server 2003 (KB926141)
- Click the Windows PowerShell hotfix entry, and then click Remove.
-
Follow the instructions to remove the hotfix for Windows PowerShell(TM) 1.0.
How to download Windows PowerShell
To download an English version of Windows PowerShell 1.0, select the installation package for your version of Windows.
Windows PowerShell 1.0 for Windows XP, x86-based versions
Download the Windows PowerShell 1.0 WindowsXP-x86 English package now.Windows PowerShell 1.0 for Windows XP, x64-based versions
Download the Windows PowerShell 1.0 WindowsXP-x64 English package now.Windows PowerShell 1.0 for Windows Server 2003, x86-based versions
Download the Windows PowerShell 1.0 WindowsServer2003-x86 English package now.Windows PowerShell 1.0 for Windows Server 2003, x64-based versions
Download the Windows PowerShell 1.0 WindowsServer2003-x64 English package now.Windows PowerShell 1.0 for Windows Server 2003, Itanium-based versions
Download the Windows PowerShell 1.0 WindowsServer2003-ia64 English package now.For more information, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
File information
The following files are installed together with Windows PowerShell:
- About_alias.help.txt
- About_arithmetic_operators.help.txt
- About_array.help.txt
- About_assignment_operators.help.txt
- About_associative_array.help.txt
- About_automatic_variables.help.txt
- About_break.help.txt
- About_command_search.help.txt
- About_command_syntax.help.txt
- About_comparison_operators.help.txt
- About_continue.help.txt
- About_core_commands.help.txt
- About_display.xml.help.txt
- About_environment_variable.help.txt
- About_escape_character.help.txt
- About_execution_environment.help.txt
- About_filter.help.txt
- About_flow_control.help.txt
- About_for.help.txt
- About_foreach.help.txt
- About_function.help.txt
- About_globbing.help.txt
- About_history.help.txt
- About_if.help.txt
- About_line_editing.help.txt
- About_location.help.txt
- About_logical_operator.help.txt
- About_method.help.txt
- About_pssnapins.help.txt
- About_namespace.help.txt
- About_object.help.txt
- About_operator.help.txt
- About_parameter.help.txt
- About_parsing.help.txt
- About_path_syntax.help.txt
- About_pipeline.help.txt
- About_property.help.txt
- About_provider.help.txt
- About_quoting_rules.help.txt
- About_redirection.help.txt
- About_ref.help.txt
- About_regular_expression.help.txt
- About_reserved_words.help.txt
- About_scope.help.txt
- About_script_block.help.txt
- About_shell_variable.help.txt
- About_signing.help.txt
- About_special_characters.help.txt
- About_switch.help.txt
- About_system_state.help.txt
- About_types.help.txt
- About_commonparameters.help.txt
- About_where.help.txt
- About_while.help.txt
- About_wildcard.help.txt
- Default.help.txt
- Microsoft.powershell.commands.management.dll
- Microsoft.powershell.commands.management.dll-help.xml
- Microsoft.powershell.commands.utility.dll
- Microsoft.powershell.commands.utility.dll-help.xml
- Microsoft.powershell.consolehost.dll
- Microsoft.powershell.consolehost.dll-help.xml
- Microsoft.powershell.security.dll
- Microsoft.powershell.security.dll-help.xml
- Microsoft.powershell.commands.management.resources.dll
- Microsoft.powershell.commands.utility.resources.dll
- Microsoft.powershell.consolehost.resources.dll
- Microsoft.powershell.security.resources.dll
- System.management.automation.resources.dll
- System.management.automation.dll
- System.management.automation.dll-help.xml
- Dotnettypes.format.ps1xml
- Filesystem.format.ps1xml
- Registry.format.ps1xml
- Certificate.format.ps1xml
- Help.format.ps1xml
- Types.ps1xml
- Powershellcore.format.ps1xml
- Powershelltrace.format.ps1xml
- Pwrshmsg.dll
- Pwrshsip.dll
- Powershell.exe
- Powershell.exe.mui
- Profile.ps1
- Releasenotes.rtf
- Gettingstarted.rtf
- Userguide.rtf
- Quadfold.rtf