Skip to content

Commit

Permalink
- Added Compliance Preview back to Update-OVServerFirmware with -Prev…
Browse files Browse the repository at this point in the history
…iewOnly switch parameter.

- Fixed incorrect handling of server profile resource (assigned and unassigned) with Update-OVServerFirmware.

Signed-off-by: Chris Lynch <chris.lynch@hpe.com>
  • Loading branch information
ChrisLynchHPE committed Sep 26, 2024
1 parent 512848b commit 3a23bab
Show file tree
Hide file tree
Showing 7 changed files with 348 additions and 96 deletions.
14 changes: 4 additions & 10 deletions HPEOneView.900.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'HPEOneView.900.psm1'

# Version number of this module.
ModuleVersion = '9.0.4010.1835'
ModuleVersion = '9.0.4012.2103'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -156,16 +156,10 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = 'Release 9.00.4010.1835
ReleaseNotes = 'Release 9.00.4012.2103
- Initial HPE OneView 9.00 library release.
- Added Get-OVRotateMPPasswordPolicy and Set-OVRotateMPPasswordPolicy cmdlets that will rotate the priviledged user account OneView deploys to a servers embedded management processor (i.e. iLO).
- Added Firmware Bundle Updates to New-OVServerProfileTemplate and New-OVServerProfile Cmdlets.
- Added server profile support to Update-OVServerFirmware Cmdlet. This will modify the server profile resource directly, and not invoke the process with the server hardware resource.
- Added Get-OVRemoteSupportPortalConnection, Register-OVRemoteSupportPortalConnection, Unregister-OVRemoteSupportPortalConnection Cmdlets to manage registering the appliance with the HPE Support Center for enhanced support case vibility.
- Fixed New-OVRemoteSupportContact returning the correct object type.
- Remove-OVRemoteSupportPartner API returns an Async task.'
- Added Compliance Preview back to Update-OVServerFirmware with -PreviewOnly switch parameter.
- Fixed incorrect handling of server profile resource (assigned and unassigned) with Update-OVServerFirmware.'

# Prerelease string of this module
# Prerelease = ''
Expand Down
329 changes: 299 additions & 30 deletions HPEOneView.900.psm1

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<SupportedUICultures>
<UICulture>
<UICultureName>en-US</UICultureName>
<UICultureVersion>9.0.4010.1836</UICultureVersion>
<UICultureVersion>9.0.4012.2104</UICultureVersion>
</UICulture>
</SupportedUICultures>
</HelpInfo>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ModuleInfo>
<ModuleContentURI>http://hewlettpackard.github.io/POSH-HPEOneView/UpdateHelp</ModuleContentURI>
<Version>9.0.4010.1835</Version>
<Version>9.0.4012.2103</Version>
</ModuleInfo>
90 changes: 36 additions & 54 deletions en-US/HPEOneView.900.psm1-help.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77713,7 +77713,7 @@ Remove-OVServer $server -confirm:$false -force</dev:code>
<command:syntaxItem>
<maml:name>Remove-OVServerProfile</maml:name>
<command:parameter required="True" globbing="True" pipelineInput="true (ByValue)" position="named" parameterSetName="default">
<maml:name>ServerProfile</maml:name>
<maml:name>InputObject</maml:name>
<maml:description>
<maml:para>The server profile object(s), name(s) or URI(s) to be removed.</maml:para>
</maml:description>
Expand Down Expand Up @@ -77802,6 +77802,17 @@ If the -RetainStorageConfig parameter is used while deleting a server profile, t
</dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
<command:parameter required="True" globbing="False" pipelineInput="true (ByValue)" position="named" parameterSetName="default" aliases="uri, name, profile, ServerProfile">
<maml:name>InputObject</maml:name>
<maml:description>
<maml:para>The server profile object(s), name(s) or URI(s) to be removed.</maml:para>
</maml:description>
<command:parameterValue required="True" variableLength="False">Object</command:parameterValue>
<dev:type>
<maml:name>Object</maml:name>
</dev:type>
<dev:defaultValue />
</command:parameter>
<command:parameter required="False" globbing="False" pipelineInput="true (ByValue)" position="named" parameterSetName="default" aliases="None">
<maml:name>RetainStorageConfig</maml:name>
<maml:description>
Expand All @@ -77824,17 +77835,6 @@ If the -RetainStorageConfig parameter is used while deleting a server profile, t
</dev:type>
<dev:defaultValue />
</command:parameter>
<command:parameter required="True" globbing="False" pipelineInput="true (ByValue)" position="named" parameterSetName="default" aliases="uri, name, profile">
<maml:name>ServerProfile</maml:name>
<maml:description>
<maml:para>The server profile object(s), name(s) or URI(s) to be removed.</maml:para>
</maml:description>
<command:parameterValue required="True" variableLength="False">Object</command:parameterValue>
<dev:type>
<maml:name>Object</maml:name>
</dev:type>
<dev:defaultValue />
</command:parameter>
<command:parameter required="False" globbing="False" pipelineInput="false" position="named" parameterSetName="(All)" aliases="wi">
<maml:name>WhatIf</maml:name>
<maml:description>
Expand Down Expand Up @@ -77894,26 +77894,8 @@ If the -RetainStorageConfig parameter is used while deleting a server profile, t
<maml:introduction>
<maml:para />
</maml:introduction>
<dev:code>$task = Remove-OVServerProfile -profile "Profile6"
Wait-OVTaskComplete $task.uri
</dev:code>
<dev:remarks>
<dev:para>Remove the profile specifed by name. Wait for remove to complete.</dev:para>
<dev:para />
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
<command:example>
<maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
<maml:introduction>
<maml:para />
</maml:introduction>
<dev:code>$profile = Get-OVServerProfile -name "Profile2"
Remove-OVServerProfile $profile -confirm:$false</dev:code>
<dev:code>$profile = Get-OVServerProfile -Name "Profile2"
Remove-OVServerProfile -InputObject $profile -Confirm:$false</dev:code>
<dev:remarks>
<dev:para>Remove the profile specifed by $profile. Disable confirmation prompt.</dev:para>
<dev:para />
Expand All @@ -77925,7 +77907,7 @@ Remove-OVServerProfile $profile -confirm:$false</dev:code>
</command:commandLines>
</command:example>
<command:example>
<maml:title>-------------------------- EXAMPLE 3 --------------------------</maml:title>
<maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
<maml:introduction>
<maml:para />
</maml:introduction>
Expand Down Expand Up @@ -78197,26 +78179,8 @@ Remove-OVServerProfile $profile -confirm:$false</dev:code>
<maml:introduction>
<maml:para />
</maml:introduction>
<dev:code>$task = Remove-OVServerProfileTemplate -ServerProfileTemplate "My Template Profile"
Wait-OVTaskComplete -InputObject $task
</dev:code>
<dev:remarks>
<dev:para>Remove the profile template specifed by name. Wait for remove to complete.</dev:para>
<dev:para />
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
<command:example>
<maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
<maml:introduction>
<maml:para />
</maml:introduction>
<dev:code>$spt = Get-OVServerProfileTemplate -name "My Template Profile" -ErrorAction Stop
Remove-OVServerProfileTemplate $spt -Confirm:$false</dev:code>
Remove-OVServerProfileTemplate -InputObject $spt -Confirm:$false</dev:code>
<dev:remarks>
<dev:para>Remove the profile template specifed by $spt. Disable confirmation prompt.</dev:para>
<dev:para />
Expand All @@ -78228,7 +78192,7 @@ Remove-OVServerProfileTemplate $spt -Confirm:$false</dev:code>
</command:commandLines>
</command:example>
<command:example>
<maml:title>-------------------------- EXAMPLE 3 --------------------------</maml:title>
<maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
<maml:introduction>
<maml:para />
</maml:introduction>
Expand Down Expand Up @@ -108461,6 +108425,13 @@ $Name = "HPE Service Pack For ProLiant OneView 2014 11 13"</maml:para>
</maml:description>
<command:parameterValue required="False" variableLength="False">SwitchParameter</command:parameterValue>
</command:parameter>
<command:parameter required="False" globbing="True" pipelineInput="false" position="named" parameterSetName="Default">
<maml:name>PreviewOnly</maml:name>
<maml:description>
<maml:para />
</maml:description>
<command:parameterValue required="False" variableLength="False">SwitchParameter</command:parameterValue>
</command:parameter>
<command:parameter required="False" globbing="True" pipelineInput="false" position="named" parameterSetName="Default">
<maml:name>Async</maml:name>
<maml:description>
Expand Down Expand Up @@ -108572,6 +108543,17 @@ $Name = "HPE Service Pack For ProLiant OneView 2014 11 13"</maml:para>
</dev:type>
<dev:defaultValue />
</command:parameter>
<command:parameter required="False" globbing="False" pipelineInput="false" position="named" parameterSetName="Default" aliases="None">
<maml:name>PreviewOnly</maml:name>
<maml:description>
<maml:para />
</maml:description>
<command:parameterValue required="False" variableLength="False">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
</dev:type>
<dev:defaultValue />
</command:parameter>
<command:parameter required="False" globbing="False" pipelineInput="false" position="named" parameterSetName="Default" aliases="None">
<maml:name>ReinstallFirmware</maml:name>
<maml:description>
Expand Down Expand Up @@ -110262,5 +110244,5 @@ Once the task enters the running state, the Cmdlet will return the task resource
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<!--Edited on: 2024-09-23T22:12:29:37.373Z-->
<!--Edited on: 2024-09-26T04:28:27:87.878Z-->
</helpItems>
Expand Down
7 changes: 7 additions & 0 deletions en-US/about_HPEOneView.900.help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ SHORT DESCRIPTION

WHAT'S NEW

Release 9.00.4012.2103

-- Added Compliance Preview back to Update-OVServerFirmware with -PreviewOnly
switch parameter.
-- Fixed incorrect handling of server profile resource (assigned and unassigned)
with Update-OVServerFirmware.

Release 9.00.4010.1835

-- Initial HPE OneView 9.00 library release.
Expand Down
Binary file modified lib/HPEOneView_Classes.dll
Binary file not shown.

0 comments on commit 3a23bab

Please sign in to comment.