Skip to main content

Set-LXCARackItem

This cmdlet modifies properties for a managed device in a rack.

Note
You cannot pipe objects to this cmdlet.

Syntax

Set-LXCARackItem [-Connection LXCAConnection] 
-RackUuid String
-ItemUuid String
[-ItemName String]
[-ItemLowestRackUnit Int]
-ItemType String
[CommonParameter]

Set-LXCARackItem [-Connection LXCAConnection]
-RackUuid String
-ComplexSystemId String
[-ItemLowestRackUnit Int]
[CommonParameter]

Parameters

-Connection LXCAConnection
Specifies the connection to the Lenovo XClarity Administrator server. If no connection is specified, the result from the last Connect-LXCA cmdlet is used.
-ComplexSystemId String
Specifies the ID of the scalable-complex device when the target is a scalable-complex device.
-ItemLowestRackUnit Int
Specifies the lowest rack unit position of the managed device in the target rack.
-ItemName String
Specifies the name of the managed device to be displayed in the rack.
-ItemType String
Specifies the managed-device type. You can specify one of the following values:
  • Chassis

  • Server

  • Switch

  • Storage

  • Placeholder. (filler)

-ItemUuid String
Specifies the UUID of the managed device.
-RackUuid String
Specifies the UUID of target rack.
CommonParameters
This cmdlet supports the following common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer, -PipelineVariable, -OutVariable. For detailed information about each common parameter, see the Microsoft PowerShell Common Parameters webpage.

Results

This cmdlet does not return an object.

Examples

The following example modifies the lowest rack unit value of server with UUID BBBBBBBBBBBB.

$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Port 443 -Credential $cred

Set-LXCARackItem -RackUuid AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -ItemUuid BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB`
-ItemLowestRackUnit 10 -ItemType Server

Disconnect-LXCA