Skip to main content

Remove-LXCARackItem

This cmdlet removes managed devices from a specific rack.

Note
You cannot pipe objects to this cmdlet.

Syntax

Remove-LXCARackItem [-Connection LXCAConnection] 
-RackUuid String
-RackItemUuid String
[CommonParameter]

Remove-LXCARackItem [-Connection LXCAConnection]
-RackUuid 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.
-ComplexId String
Specifies the ID of the scalable-complex system to be removed.
-RackItemUuid String
Specifies the UUID of the managed device to be removed.
-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 removes a managed device with UUID BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB) from rack with UUID AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.

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

Remove-LXCARack -RackUuid AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -RackItemUuid BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

Disconnect-LXCA