-
Notifications
You must be signed in to change notification settings - Fork 52
Add HPOVRackToDataCenter
Add rack resource to DataCenter.
Add-HPOVRackToDataCenter [-InputObject] <Object> [-DataCenter] <Object>[ [-X] <Int32>][ [-Y] <Int32>][ [-Millimeters] <SwitchParameter>][ [-Rotate] <Int>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
Add a rack resource to a defined DataCenter object.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-DataCenter <Object>
The DataCenter object from Get-HPOVDataCenter.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
The Rack object from Get-HPOVRack.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Millimeters <SwitchParameter>
If X and/or Y are in Millimeters, you must include this parameter.
Aliases | None |
Required? | False |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Rotate <Int>
Specify the degree rotation of the rack. Allowed range 0 to 360
Aliases | None |
Required? | False |
Position? | named |
Default value | 0 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-X <Int32>
The X coordinate in the DC. Value can be in US Feet or Millimeters. If specying Millimeters, you need to include the -Millimeters switch parameter. Feet will be converted to Millimeters.
Aliases | None |
Required? | False |
Position? | named |
Default value | 0 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Y <Int32>
The Y coordinate in the DC. Value can be in US Feet or Millimeters. If specying Millimeters, you need to include the -Millimeters switch parameter. Feet will be converted to Millimeters.
Aliases | None |
Required? | False |
Position? | named |
Default value | 0 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
HPOneView.Facilities.Rack [System.Management.Automation.PSCustomObject]
Rack resource object from Get-HPOVRack.
HPOneView.Facilities.DataCenter [System.Management.Automation.PSCustomObject]
Updated DataCenter object with the newly added Rack resource in the contents property.
-------------------------- EXAMPLE 1 --------------------------$DC = Get-HPOVDataCenter -Name Houston_DC1 -ErrorAction Stop $X = 10 $Y = 12 Get-HPOVRack -Name MyRack -ErrorAction Stop | Add-HPOVRackToDataCenter -DataCenter $DC -X $X -Y $Y
Add "MyRack" to "Houston_DC1" datacenter object, located at 10",12".
Add rack resource to DataCenter.
Add-HPOVRackToDataCenter [-InputObject] <Object> [-DataCenter] <Object>[ [-X] <Int32>][ [-Y] <Int32>][ [-Millimeters] <SwitchParameter>][ [-Rotate] <Int>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
Add a rack resource to a defined DataCenter object.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-DataCenter <Object>
The DataCenter object from Get-HPOVDataCenter.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
The Rack object from Get-HPOVRack.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Millimeters <SwitchParameter>
If X and/or Y are in Millimeters, you must include this parameter.
Aliases | None |
Required? | False |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Rotate <Int>
Specify the degree rotation of the rack. Allowed range 0 to 360
Aliases | None |
Required? | False |
Position? | named |
Default value | 0 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-X <Int32>
The X coordinate in the DC. Value can be in US Feet or Millimeters. If specying Millimeters, you need to include the -Millimeters switch parameter. Feet will be converted to Millimeters.
Aliases | None |
Required? | False |
Position? | named |
Default value | 0 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Y <Int32>
The Y coordinate in the DC. Value can be in US Feet or Millimeters. If specying Millimeters, you need to include the -Millimeters switch parameter. Feet will be converted to Millimeters.
Aliases | None |
Required? | False |
Position? | named |
Default value | 0 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
HPOneView.Facilities.Rack [System.Management.Automation.PSCustomObject]
Rack resource object from Get-HPOVRack.
HPOneView.Facilities.DataCenter [System.Management.Automation.PSCustomObject]
Updated DataCenter object with the newly added Rack resource in the contents property.
-------------------------- EXAMPLE 1 --------------------------$DC = Get-HPOVDataCenter -Name Houston_DC1 -ErrorAction Stop $X = 10 $Y = 12 Get-HPOVRack -Name MyRack -ErrorAction Stop | Add-HPOVRackToDataCenter -DataCenter $DC -X $X -Y $Y
Add 'MyRack' to 'Houston_DC1' datacenter object, located at 10',12'.