Set HPOVEnclosure - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Set-HPOVEnclosure

Rename Synergy Frame Name or Rack Name.

SYNTAX

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

Detailed 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.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

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

Default Value: ${Global:ConnectedSessions} | ? Default

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

-InputObject <Object>

Aliases [-Encl, -Enclosure]

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

<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

HPOneView.Enclosure [System.Management.Automation.PSCustomObject]

Single Syngery Enclosure resource

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Single async task resource for resource name update

System.Collections.ArrayList <HPOneView.Appliance.TaskResource>

Collection of async tasks

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVEnclosure -Name "0000A66101" -ErrorAction Stop | Set-HPOVEnclosure -Name "MyEnclName1" | Wait-HPOVTaskComplete

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

 -------------------------- EXAMPLE 2 --------------------------

Get-HPOVEnclosure -Name "0000A66101" -ErrorAction Stop | Set-HPOVEnclosure -Name "MyEnclName1" -RackName "DC11-Rack4A" | Wait-HPOVTaskComplete

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

Related Links


Top

HPE OneView 4.00 Library

Set-HPOVEnclosure

Rename Synergy Frame Name or Rack Name.

SYNTAX

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

Detailed 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.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

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

Default Value: ${Global:ConnectedSessions} | ? Default

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

-InputObject <Object>

Aliases [-Encl, -Enclosure]

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

<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

HPOneView.Enclosure [System.Management.Automation.PSCustomObject]

Single Syngery Enclosure resource

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Single async task resource for resource name update

System.Collections.ArrayList <HPOneView.Appliance.TaskResource>

Collection of async tasks

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVEnclosure -Name '0000A66101' -ErrorAction Stop | Set-HPOVEnclosure -Name 'MyEnclName1' | Wait-HPOVTaskComplete

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

 -------------------------- EXAMPLE 2 --------------------------

Get-HPOVEnclosure -Name '0000A66101' -ErrorAction Stop | Set-HPOVEnclosure -Name 'MyEnclName1' -RackName 'DC11-Rack4A' | Wait-HPOVTaskComplete

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

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️