Skip to main content

Remove-LXCARack

This cmdlet deletes a specific rack.

Note
You cannot pipe objects to this cmdlet.

Syntax

Remove-LXCARack [-Connection LXCAConnection]
-RackUuid String
[CommonParameter]

Remove-LXCARack [-Connection LXCAConnection]
-Rack Rack
[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.
-RackUuid String
Specifies the UUID of the rack to be deleted.
-Rack Rack
Specifies the rack object to be deleted.
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 deletes the rack with UUID AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.

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

Remove-LXCARack -RackUuid AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

Disconnect-LXCA