Skip to content

Convert-OVServerProfileTemplate

Syntax

Convert-OVServerProfileTemplate
    [-InputObject] <Object>
    [-ServerHardwareType <Object>]
    [-EnclosureGroup <Object>]
    [-Async]
    [-ApplianceConnection <Array>]
    [<CommonParameters>]

Description

Use this Cmdlet to change the Server Hardware Type and/or Enclosure Group set within the Server Profile Template. Changing to a different server hardware type may change the capabilities available to the server profile. Changing the enclosure group may change the connections which are available for the profile template.

  • It may also cause incompatibilities with the current configuration.
  • All defined connections will have their port assignment set to "Auto".
  • Any incompatibilities will be flagged when the server profile template is committed.
  • If the new server hardware type does not support the local storage configuration, some storage may not be configurable.
  • If the enclosure group is changed, mezzanine storage for HPE Synergy is lost and the disk drives are released.
  • Any change in the server hardware type will lead to the associated volume loss.
Info

Minimum required privileges: Infrastructure administrator or Server administrator.

Examples

Example 1

$SPT = Get-OVServerProfileTemplate -Name "My Template Name" -ErrorAction Stop
$NewServerHardwareType = Get-OVServerHardwareType -Name "SY480 Gen10 2" -ErrorAction Stop
Convert-OVServerProfileTemplate -InputObject $SPT -ServerHardwareType $NewServerHardwareType

Transform the specified server profile template object to a different server hardware type resource.

Example 2

$SPT = Get-OVServerProfileTemplate -Name "My Template Name" -ErrorAction Stop
$NewEnclosureGroup = Get-OVEnclosureGroup -Name "Dev EG 1" -ErrorAction Stop
Convert-OVServerProfileTemplate -InputObject $SPT -EnclosureGroup $NewEnclosureGroup

Transform the specified server profile template object to a different enclosure group resource.

Example 3

$SPT = Get-OVServerProfileTemplate -Name "My Template Name" -ErrorAction Stop
$NewEnclosureGroup = Get-OVEnclosureGroup -Name "Dev EG 1" -ErrorAction Stop
$NewServerHardwareType = Get-OVServerHardwareType -Name "BL460 Gen9 3" -ErrorAction Stop
Convert-OVServerProfileTemplate -InputObject $SPT -EnclosureGroup $NewEnclosureGroup -ServerHardwareType $NewServerHardwareType

Transform the specified server profile template object to a different enclosure group and server hardware type resource.

Parameters

-ApplianceConnection <Array>

Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).

Aliases Appliance
Required? False
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

Aliases None
Required? False
Position? Named
Default value False
Accept pipeline input? false
Accept wildcard characters? False

-Confirm <SwitchParameter>

Override confirmation prompt.

Aliases cf
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-EnclosureGroup <Object>

Specify the target [HPEOneView.EnclosureGroup] resource object. By changing the Enclosure Group, assigned Networks with Connections that do not exist on in the associated Logical Interconnect Group(s), the Connection may not be assigned to an available FlexNIC.

Aliases None
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-InputObject <Object>

The [HPEOneView.ServerProfileTemplate] object from Get-OVServerProfileTemplate.

Aliases ServerProfileTemplate, SPT
Required? True
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-ServerHardwareType <Object>

Specify the [HPEOneView.ServerHardwareType] object to transform to. BIOS Settings will be reset to defaults, and Connection FlexNIC assignment will be reset back to Auto.

Aliases None
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-WhatIf <SwitchParameter>

default content

Aliases wi
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

The Server Profile Template resource object to transform.

Return Values

Async Task resource to monitor progress of the Server Profile transformation.