Skip to content

Commit d88bfff

Browse files
authored
Merge pull request #2703 from PowerShell/wmf5.1version
Add WMF 5.1PP to the existing list of allowed wmf versions
2 parents 3a965ac + f7374fa commit d88bfff

File tree

4 files changed

+47
-39
lines changed

4 files changed

+47
-39
lines changed

src/ResourceManager/Compute/Commands.Compute/Extension/DSC/SetAzureVMDscExtensionCommand.cs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -187,23 +187,26 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineExtensionBaseCmdlet
187187
///
188188
/// The DSC Azure Extension depends on DSC features that are only available in
189189
/// the WMF updates. This parameter specifies which version of the update to
190-
/// install on the VM. The possible values are "4.0","latest" and "5.0".
190+
/// install on the VM. The possible values are "4.0","5.0" ,"5.1PP" and "latest".
191191
///
192-
/// A value of "4.0" will install KB3000850
193-
/// (http://support.microsoft.com/kb/3000850) on Windows 8.1 or Windows Server
194-
/// 2012 R2, or WMF 4.0
195-
/// (http://www.microsoft.com/en-us/download/details.aspx?id=40855) on other
196-
/// versions of Windows if a newer version isnt already installed.
192+
/// A value of "4.0" will install WMF 4.0 Update packages
193+
/// (https://support.microsoft.com/en-us/kb/3119938) on Windows 8.1 or Windows Server
194+
/// 2012 R2, or
195+
/// (https://support.microsoft.com/en-us/kb/3109118) on Windows Server 2008 R2
196+
/// and on other versions of Windows if newer version is not already installed.
197197
///
198198
/// A value of "5.0" will install the latest release of WMF 5.0
199199
/// (https://www.microsoft.com/en-us/download/details.aspx?id=50395).
200200
///
201+
/// A value of "5.1PP" will install the WMF 5.1 preview
202+
/// (https://www.microsoft.com/en-us/download/details.aspx?id=53347).
203+
///
201204
/// A value of "latest" will install the latest WMF, currently WMF 5.0
202205
///
203206
/// The default value is "latest"
204207
/// </summary>
205208
[Parameter(ValueFromPipelineByPropertyName = true)]
206-
[ValidateSetAttribute(new[] { "4.0", "latest", "5.0PP", "5.0" })]
209+
[ValidateSetAttribute(new[] { "4.0", "5.0", "5.1PP", "latest" })]
207210
public string WmfVersion { get; set; }
208211

209212
/// <summary>

src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22401,13 +22401,15 @@ PS C:\&gt; Set-AzureRmVMDiskEncryptionExtension -ResourceGroupName $RGname -VMNa
2240122401
</maml:description>
2240222402
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
2240322403
</command:parameter>
22404-
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
22405-
<maml:name>WmfVersion</maml:name>
22406-
<maml:description>
22407-
<maml:para>Specifies the WMF version.</maml:para>
22408-
</maml:description>
22409-
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
22410-
</command:parameter>
22404+
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
22405+
<maml:name>WmfVersion</maml:name>
22406+
<maml:description>
22407+
<maml:para>
22408+
Specifies the version of the Windows Management Framework (WMF) to install on the VM. The DSC Azure Extension depends on DSC features that are only available in the WMF updates. This parameter specifies which version of the update to install on the VM. The possible values are &quot;4.0&quot;,&quot;5.0&quot;,&quot;5.1PP&quot;,&quot;latest&quot;.A value of &quot;4.0&quot; will install WMF 4.0 Update packages (https://support.microsoft.com/en-us/kb/3119938) on Windows 8.1 or Windows Server 2012 R2, or (https://support.microsoft.com/en-us/kb/3109118) on Windows Server 2008 R2 and on other versions of Windows if newer version is not already installed. A value of &quot;5.0&quot; will install the latest release of WMF 5.0 (https://www.microsoft.com/en-us/download/details.aspx?id=50395). A value of &quot;5.1PP&quot; will install the WMF 5.1 preview (https://www.microsoft.com/en-us/download/details.aspx?id=53347). A value of &quot;latest&quot; will install the latest WMF, currently WMF 5.0. The default value is &quot;latest&quot;
22409+
</maml:para>
22410+
</maml:description>
22411+
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
22412+
</command:parameter>
2241122413
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
2241222414
<maml:name>DataCollection</maml:name>
2241322415
<maml:description>
@@ -22626,18 +22628,20 @@ PS C:\&gt; Set-AzureRmVMDiskEncryptionExtension -ResourceGroupName $RGname -VMNa
2262622628
</dev:type>
2262722629
<dev:defaultValue>none</dev:defaultValue>
2262822630
</command:parameter>
22629-
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
22630-
<maml:name>WmfVersion</maml:name>
22631-
<maml:description>
22632-
<maml:para>Specifies the WMF version.</maml:para>
22633-
</maml:description>
22634-
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
22635-
<dev:type>
22636-
<maml:name>String</maml:name>
22637-
<maml:uri/>
22638-
</dev:type>
22639-
<dev:defaultValue>none</dev:defaultValue>
22640-
</command:parameter>
22631+
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
22632+
<maml:name>WmfVersion</maml:name>
22633+
<maml:description>
22634+
<maml:para>
22635+
Specifies the version of the Windows Management Framework (WMF) to install on the VM. The DSC Azure Extension depends on DSC features that are only available in the WMF updates. This parameter specifies which version of the update to install on the VM. The possible values are &quot;4.0&quot;,&quot;5.0&quot;,&quot;5.1PP&quot;,&quot;latest&quot;.A value of &quot;4.0&quot; will install WMF 4.0 Update packages (https://support.microsoft.com/en-us/kb/3119938) on Windows 8.1 or Windows Server 2012 R2, or (https://support.microsoft.com/en-us/kb/3109118) on Windows Server 2008 R2 and on other versions of Windows if newer version is not already installed. A value of &quot;5.0&quot; will install the latest release of WMF 5.0 (https://www.microsoft.com/en-us/download/details.aspx?id=50395). A value of &quot;5.1PP&quot; will install the WMF 5.1 preview (https://www.microsoft.com/en-us/download/details.aspx?id=53347). A value of &quot;latest&quot; will install the latest WMF, currently WMF 5.0. The default value is &quot;latest&quot;
22636+
</maml:para>
22637+
</maml:description>
22638+
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
22639+
<dev:type>
22640+
<maml:name>String</maml:name>
22641+
<maml:uri/>
22642+
</dev:type>
22643+
<dev:defaultValue>latest</dev:defaultValue>
22644+
</command:parameter>
2264122645
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
2264222646
<maml:name>DataCollection</maml:name>
2264322647
<maml:description>

src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,23 +138,26 @@ public class SetAzureVMDscExtension : VirtualMachineExtensionCmdletBase
138138
///
139139
/// The DSC Azure Extension depends on DSC features that are only available in
140140
/// the WMF updates. This parameter specifies which version of the update to
141-
/// install on the VM. The possible values are "4.0","latest" and "5.0".
141+
/// install on the VM. The possible values are "4.0","5.0" ,"5.1PP" and "latest".
142142
///
143-
/// A value of "4.0" will install KB3000850
144-
/// (http://support.microsoft.com/kb/3000850) on Windows 8.1 or Windows Server
145-
/// 2012 R2, or WMF 4.0
146-
/// (http://www.microsoft.com/en-us/download/details.aspx?id=40855) on other
147-
/// versions of Windows if a newer version isnt already installed.
143+
/// A value of "4.0" will install WMF 4.0 Update packages
144+
/// (https://support.microsoft.com/en-us/kb/3119938) on Windows 8.1 or Windows Server
145+
/// 2012 R2, or
146+
/// (https://support.microsoft.com/en-us/kb/3109118) on Windows Server 2008 R2
147+
/// and on other versions of Windows if newer version is not already installed.
148148
///
149149
/// A value of "5.0" will install the latest release of WMF 5.0
150150
/// (https://www.microsoft.com/en-us/download/details.aspx?id=50395).
151151
///
152+
/// A value of "5.1PP" will install the WMF 5.1 preview
153+
/// (https://www.microsoft.com/en-us/download/details.aspx?id=53347).
154+
///
152155
/// A value of "latest" will install the latest WMF, currently WMF 5.0
153156
///
154157
/// The default value is "latest"
155158
/// </summary>
156159
[Parameter(ValueFromPipelineByPropertyName = true)]
157-
[ValidateSetAttribute(new[] { "4.0", "latest", "5.0PP", "5.0" })]
160+
[ValidateSetAttribute(new[] { "4.0", "5.0", "5.1PP", "latest" })]
158161
public string WmfVersion { get; set; }
159162

160163
/// <summary>

src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129837,9 +129837,8 @@ PS C:\&gt; Update-AzureVM -ServiceName $Service_Name -Name $VM_Name -VM $VM_Upda
129837129837
<maml:name>WmfVersion</maml:name>
129838129838
<maml:description>
129839129839
<maml:para>
129840-
Specifies the version of the Windows Management Framework (WMF) to install on the VM. The DSC Azure Extension depends on DSC features that are only available in the WMF updates. This parameter specifies which version of the update to install on the VM. The possible values are &quot;4.0&quot;,&quot;latest&quot; and &quot;5.0&quot;.
129841-
A value of &quot;4.0&quot; will install KB3000850 (http://support.microsoft.com/kb/3000850) on Windows 8.1 or Windows Server 2012 R2, or WMF 4.0 (http://www.microsoft.com/en-us/download/details.aspx?id=40855) on other versions of Windows if a newer version isnt already installed.
129842-
A value of &quot;5.0&quot; will install the latest release of WMF 5.0 (https://www.microsoft.com/en-us/download/details.aspx?id=50395). A value of &quot;latest&quot; will install the latest WMF, currently WMF 5.0. The default value is &quot;latest&quot;</maml:para>
129840+
Specifies the version of the Windows Management Framework (WMF) to install on the VM. The DSC Azure Extension depends on DSC features that are only available in the WMF updates. This parameter specifies which version of the update to install on the VM. The possible values are &quot;4.0&quot;,&quot;5.0&quot;,&quot;5.1PP&quot;,&quot;latest&quot;. A value of &quot;4.0&quot; will install WMF 4.0 Update packages (https://support.microsoft.com/en-us/kb/3119938) on Windows 8.1 or Windows Server 2012 R2, or (https://support.microsoft.com/en-us/kb/3109118) on Windows Server 2008 R2 and on other versions of Windows if newer version is not already installed. A value of &quot;5.0&quot; will install the latest release of WMF 5.0 (https://www.microsoft.com/en-us/download/details.aspx?id=50395). A value of &quot;5.1PP&quot; will install the WMF 5.1 preview (https://www.microsoft.com/en-us/download/details.aspx?id=53347). A value of &quot;latest&quot; will install the latest WMF, currently WMF 5.0. The default value is &quot;latest&quot;
129841+
</maml:para>
129843129842
</maml:description>
129844129843
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
129845129844
</command:parameter>
@@ -130026,9 +130025,8 @@ PS C:\&gt; Update-AzureVM -ServiceName $Service_Name -Name $VM_Name -VM $VM_Upda
130026130025
<maml:name>WmfVersion</maml:name>
130027130026
<maml:description>
130028130027
<maml:para>
130029-
Specifies the version of the Windows Management Framework (WMF) to install on the VM. The DSC Azure Extension depends on DSC features that are only available in the WMF updates. This parameter specifies which version of the update to install on the VM. The possible values are &quot;4.0&quot;,&quot;latest&quot; and &quot;5.0&quot;.
130030-
A value of &quot;4.0&quot; will install KB3000850 (http://support.microsoft.com/kb/3000850) on Windows 8.1 or Windows Server 2012 R2, or WMF 4.0 (http://www.microsoft.com/en-us/download/details.aspx?id=40855) on other versions of Windows if a newer version isnt already installed.
130031-
A value of &quot;5.0&quot; will install the latest release of WMF 5.0 (https://www.microsoft.com/en-us/download/details.aspx?id=50395). A value of &quot;latest&quot; will install the latest WMF, currently WMF 5.0. The default value is &quot;latest&quot;</maml:para>
130028+
Specifies the version of the Windows Management Framework (WMF) to install on the VM. The DSC Azure Extension depends on DSC features that are only available in the WMF updates. This parameter specifies which version of the update to install on the VM. The possible values are &quot;4.0&quot;,&quot;5.0&quot;,&quot;5.1PP&quot;,&quot;latest&quot;. A value of &quot;4.0&quot; will install WMF 4.0 Update packages (https://support.microsoft.com/en-us/kb/3119938) on Windows 8.1 or Windows Server 2012 R2, or (https://support.microsoft.com/en-us/kb/3109118) on Windows Server 2008 R2 and on other versions of Windows if newer version is not already installed. A value of &quot;5.0&quot; will install the latest release of WMF 5.0 (https://www.microsoft.com/en-us/download/details.aspx?id=50395). A value of &quot;5.1PP&quot; will install the WMF 5.1 preview (https://www.microsoft.com/en-us/download/details.aspx?id=53347). A value of &quot;latest&quot; will install the latest WMF, currently WMF 5.0. The default value is &quot;latest&quot;
130029+
</maml:para>
130032130030
</maml:description>
130033130031
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
130034130032
<dev:type>

0 commit comments

Comments
 (0)