Skip to content

Set-OVEnclosure

Syntax

Set-OVEnclosure
    [-InputObject] <Object>
    [-Name <String>]
    [-RackName <String>]
    [-ApplianceConnection <Object>]
    [<CommonParameters>]

Description

This Cmdlet provides the ability to set a Synergy Frame/Enclosure Name and/or the Synergy Rack Name to provided values. Each requires a seperate async task to complete.

Examples

Example 1

Get-OVEnclosure -Name "0000A66101" -ErrorAction Stop | Set-OVEnclosure -Name "MyEnclName1" | Wait-OVTaskComplete

Set the provided Synergy Frame resource Name to a new value.

Example 2

Get-OVEnclosure -Name "0000A66101" -ErrorAction Stop | Set-OVEnclosure -Name "MyEnclName1" -RackName "DC11-Rack4A" | Wait-OVTaskComplete

Set the provided Synergy Frame resource Name and RackName to a new value.

Parameters

-InputObject <Object>

A Syngery Frame/Enclosure Object.

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

-Name <String>

The new name of a Synergy Frame.

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

-RackName <String>

The new name of ta Synergy Rack.

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

-ApplianceConnection <Object>

Specify one [HPEOneView.Appliance.Connection] object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Aliases Appliance
Required? False
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
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

Single Syngery Enclosure resource

Return Values

Single async task resource for resource name update

Collection of async tasks