Skip to content

Commit fbc62a4

Browse files
davidsmatlaksdwheeler
authored andcommitted
issue 4466 (#4767)
1 parent 7293672 commit fbc62a4

File tree

2 files changed

+28
-21
lines changed

2 files changed

+28
-21
lines changed

wmf/setup/install-configure.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -44,44 +44,44 @@ Download the WMF 5.1 package for the operating system and architecture you wish
4444
> the instructions for the other packages. Installation instructions for Windows Server 2012 R2,
4545
> Windows Server 2012, and Windows 8.1 are below.
4646
47+
### WMF 5.1 Prerequisites for Windows Server 2008 R2 SP1 and Windows 7 SP1
48+
49+
Installation of WMF 5.1 on either Windows Server 2008 R2 SP1 or Windows 7 SP1, requires the
50+
following:
51+
52+
- Latest service pack must be installed.
53+
- WMF 3.0 **must not** be installed. Installing WMF 5.1 over WMF 3.0 will result in the loss of the
54+
**PSModulePath** (`$env:PSModulePath`), which can cause other applications to fail. Before
55+
installing WMF 5.1, you must either un-install WMF 3.0, or save the **PSModulePath** and then
56+
restore it manually after WMF 5.1 installation is complete.
57+
- WMF 5.1 requires at least [.NET Framework 4.5.2](https://www.microsoft.com/download/details.aspx?id=42642).
58+
You can install Microsoft .NET Framework 4.5.2 by following the instructions at the download
59+
location.
60+
4761
### Installing WMF 5.1 on Windows Server 2008 R2 and Windows 7
4862

4963
1. Navigate to the folder into which you downloaded the ZIP file.
5064

51-
2. Right-click on the ZIP file, and select "Extract All...". The Zip contains 2 files: an MSU and
52-
the Install-WMF5.1.PS1 script file. Once you have unpacked the ZIP file, you can copy the
53-
contents to any machine running Windows 7 or Windows Server 2008 R2.
65+
2. Right-click on the ZIP file, and select **Extract All...**. The ZIP file contains two files: an
66+
MSU and the `Install-WMF5.1.ps1` script file. Once you have unpacked the ZIP file, you can copy
67+
the contents to any machine running Windows 7 or Windows Server 2008 R2.
5468

5569
3. After extracting the ZIP file contents, open PowerShell as administrator, then navigate to the
5670
folder containing the contents of the ZIP file.
5771

58-
4. Run the Install-Wmf5.1.ps1 script in that folder, and follow the instructions. This script will
72+
4. Run the `Install-WMF5.1.ps1` script in that folder, and follow the instructions. This script will
5973
check the prerequisites on the local machine, and install WMF 5.1 if the prerequisites have been
6074
met. The prerequisites are listed below.
6175

62-
Install-WMF5.1.ps1 takes the following parameters to ease automating the installation on Windows
76+
`Install-WMF5.1.ps1` takes the following parameters to ease automating the installation on Windows
6377
Server 2008 R2 and Windows 7:
6478

65-
- AcceptEula: When this parameter is included, the EULA is automatically accepted and will not be
79+
- **AcceptEula**: When this parameter is included, the EULA is automatically accepted and will not be
6680
displayed.
67-
- AllowRestart: This parameter can only be used if AcceptEula is specified. If this parameter is
81+
- **AllowRestart**: This parameter can only be used if AcceptEula is specified. If this parameter is
6882
included, and a restart is required after installing WMF 5.1, the restart will happen without
6983
prompting immediately after the installation is completed.
7084

71-
### WMF 5.1 Prerequisites for Windows Server 2008 R2 SP1 and Windows 7 SP1
72-
73-
Installation of WMF 5.1 on either Windows Server 2008 R2 SP1 or Windows 7 SP1, requires the
74-
following:
75-
76-
- Latest service pack must be installed.
77-
- WMF 3.0 **must not** be installed. Installing WMF 5.1 over WMF 3.0 will result in the loss of the
78-
PSModulePath, which can cause other applications to fail. Before installing WMF 5.1, you must
79-
either un-install WMF 3.0, or save the PSModulePath and then restore it manually after WMF 5.1
80-
installation is complete.
81-
- WMF 5.1 requires at least [.NET Framework 4.5.2](https://www.microsoft.com/download/details.aspx?id=42642).
82-
You can install Microsoft .NET Framework 4.5.2 by following the instructions at the download
83-
location.
84-
8585
## WinRM Dependency
8686

8787
Windows PowerShell Desired State Configuration (DSC) depends on WinRM. WinRM is not enabled by

wmf/whats-new/release-notes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ ms.topic: conceptual
44
keywords: wmf,powershell,setup
55
title: WMF 5.x Release Notes
66
---
7+
78
# Windows Management Framework (WMF) 5.x Release Notes
89

910
## WMF 5.0 Changes
@@ -39,6 +40,11 @@ Server 2008 R2, 2012, and 2012 R2, and provides several improvements over WMF 5.
3940
and when using PowerShellGet cmdlets
4041
- Responses to a number of user requests and issues
4142

43+
> [!IMPORTANT]
44+
> Before you install WMF 5.1 on Windows Server 2008 or Windows 7, confirm that WMF 3.0 isn't
45+
> installed. For more information, see
46+
> [WMF 5.1 Prerequisites for Windows Server 2008 R2 SP1 and Windows 7 SP1](../setup/install-configure.md#wmf-51-prerequisites-for-windows-server-2008-r2-sp1-and-windows-7-sp1).
47+
4248
## PowerShell Editions
4349

4450
Starting with version 5.1, PowerShell is available in different editions that denote varying
@@ -105,6 +111,7 @@ In WMF 5.1:
105111

106112
- You can use
107113
[ModuleSpecification Constructor (Hashtable)](/dotnet/api/microsoft.powershell.commands.modulespecification.-ctor?view=powershellsdk-1.1.0#Microsoft_PowerShell_Commands_ModuleSpecification__ctor_System_Collections_Hashtable_).
114+
108115
This hash table has the same format as `Get-Module -FullyQualifiedName`.
109116

110117
**Example:** `using module @{ModuleName = 'PSReadLine'; RequiredVersion = '1.1'}`

0 commit comments

Comments
 (0)