Skip to content

Set-OVServerHardwareType

Syntax

Set-OVServerHardwareType
    [-InputObject] <Object>
    [-Name] <String>
    [-Description <String>]
    [-ApplianceConnection <Array>]
    [<CommonParameters>]

Description

Use this Cmdlet to rename or set a description to one or more Server Hardware Type resource(s).

Info

Minimum required privileges: Server administrator

Examples

Example 1

Get-OVServerHardwareType -Name "BL460c Gen9 1" -ErrorAction Stop | Set-OVServerHardwareType -Name "Corp Hypervisor Host Type"

Rename the default "BL460c Gen9 1" server hardware type resource to a new name.

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

-Description <String>

Set a new description.

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

-InputObject <Object>

HPEOneView.ServerHardwareType resource from Get-OVServerHardwareType.

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

-Name <String>

Set a new name.

Aliases None
Required? True
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

Resource from Get-OVServerHardwareType.

Return Values

The updated resource object.