Set-LXCARack
This cmdlet modifies properties for a specific rack.
Syntax
Set-LXCARack [-Connection LXCAConnection]
-RackUuid String
[-Name String]
[-Location String]
[-Room 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.
- -RackUuid String
- Specifies the UUID of the rack to be modified.
- -Name String
- Specifies the name of rack. The name must be unique.
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.
- -Location String
- Specifies the location of rack.
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.
- -Room String
- Specifies the room where the rack is located.
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.
- 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 name, location, and room for a rack with UUID AAAAAAAAAAAA.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
Set-LXCARack -RackUuid AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -Name NewMyRack -Location Lab-2 -Room 201
Disconnect-LXCA