Skip to main content

Remove-LXCACabinetItem

This cmdlet removes an item, such as a chassis, rack server, or scalable complex system, in a cabinet (rack) instance on the Lenovo XClarity Administrator server.

Note
You cannot pipe objects to this cmdlet.

Syntax

Add-LXCACabinetItem [-Connection LXCAConnection] 
-CabinetUuid String
-CabinetItemUuid String
[CommonParameter]

Add-LXCACabinetItem [-Connection LXCAConnection]
-CabinetUuid String
-ComplexId String
[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.
-CabinetUuid String
Specifies the UUID of the cabinet.
-CabinetItemUuid String
Specifies the UUID of the cabinet item.
-ComplexId String
Specifies the ID of a scalable complex system
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 removes a defined item from the specified item cabinet on the XClarity Administrator server. No object is returned.

Examples

The following example modifies remove a server from a cabinet.

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

Remove-LXCACabinetItem -CabinetUuid $rack -CabinetItemUuid $node

Disconnect-LXCA