This cmdlet creates a rack.
Add-LXCARack [-Connection LXCAConnection]
-Name String
-Height Int
-Location String
-Room String
[CommonParameter]
The name can be 1 - 256 characters. You can use upper and lower case letter, number, and the following special characters: dash (-), underscore (_), and period (.). The first and last character cannot be a dash.
The location can be 1 - 256 characters. You can use upper and lower case letter, number, and the following special characters: dash (-), underscore (_), and period (.). The first and last character cannot be a dash.
The room can be 1 - 256 characters. You can use upper and lower case letter, number, and the following special characters: dash (-), underscore (_), and period (.). The first and last character cannot be a dash.
This cmdlet returns a Rack object.
The following example creates a rack.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
$rack = Add-LXCARack -Name MyRack -Height 42 -Location Lab-1 -Room 101
Disconnect-LXCA