PowerShell is not installed in any version of Windows by default. For earlier versions of Windows (Windows XP, Windows Server 2003), you needed to download software from Microsoft's web site. However, as PowerShell is included in the installation binaries, installing it on Windows Server 2008 is really very simple.
PowerShell has only one key dependency, the .NET Framework version 2.0, which needs to be installed before you can install PowerShell. In Windows Server 2008, the .NET Framework is installed by default. In Windows Server 2008, PowerShell is an optional feature that you can install either using Server Manager, or as part of an unattended installation.
Use the Server Manager to add the PowerShell feature as follows:
1. Run Server Manager, and select the option to add a feature.
2. Select the PowerShell feature and click Next.
3. Sit back and watch the installation run.
As PowerShell is an OS feature, the installer places PowerShell's core components into the %systemroot%\system32\windowspowershell\v1.0 folder. The installer adds copy help files, formatting XML, some "getting started" documents, and a sample profile file to this location.
PowerShell is a managed application, based on the .NET Framework. To speed up load times, the PowerShell installer also installs PowerShell's core binaries into the .NET Global Assembly Cache.
Installing PowerShell also updates the Registry as follows:
Three new file types are added to HKEY_CLASSES_ROOT. They are .ps1 (PowerShell script files), .ps1xml (PowerShell display XML), and .psc1 (PowerShell Console).
The installation process also populates the Registry key: KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1.
The installer modifies the system path to include %systemroot%\system32\WindowsPowerShell\v1.0.
Once you have installed PowerShell, you can verify a successful installation by clicking Start, then Run, and then entering PowerShell and hitting Return.
Source of Information : OReilly Windows Server 2008 The Definitive Guide
Subscribe to:
Post Comments (Atom)
Cloud storage is for blocks too, not just files
One of the misconceptions about cloud storage is that it is only useful for storing files. This assumption comes from the popularity of file...
-
Many of the virus, adware, security, and crash problems with Windows occu when someone installs a driver of dubious origin. The driver suppo...
-
The Berkeley motes are a family of embedded sensor nodes sharing roughly the same architecture. Let us take the MICA mote as an example. T...
-
Modern computers contain a significant amount of memory, and it isn’t easy to know whether the memory is usable. Because of the way that Win...
No comments:
Post a Comment