-
Notifications
You must be signed in to change notification settings - Fork 52
Remove HPOVDataCenter
Remove a datacenter resource.
Remove-HPOVDataCenter [-InputObject] <Object>[ [-ApplianceConnection] <Object>] [-WhatIf] <> [-Confirm] <> [<CommonParameters>]
A data center represents a physically contiguous area in which racks containing IT equipment are located. For example, you have IT equipment in two rooms or on separate floors. You could create a data center for each of these areas. Each server, enclosure, or power distribution device in your data center can report its power requirements, but it can be difficult to understand the power and cooling requirements for your data center as a whole. The appliance enables you to bring power and cooling management of your servers, enclosures, and power delivery devices together in a single management system. When you initialize the appliance for the first time, it creates a data center named Datacenter 1. The appliance provides this data center as a place to visualize your racks. You can rename or edit this data center to match the values and layout of your data center, you can use it as the basis for a planned data center model, or you can delete this data center without adverse effects.
This Cmdlet will remove 1 or more datacenter resources from an appliance. Removing a datacenter resource will not delete or remove associated resources, like Racks.
-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 |
-Confirm <>
Aliases | cf |
Required? | |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Datacenter object, from Get-HPOVDataCenter.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <>
Aliases | wi |
Required? | |
Position? | named |
Default value | |
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.DataCenter
Datacenter resource from Get-HPOVDataCenter.
System.Management.Automation.PSCustomObject
Object with status confirmation the resource was deleted.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVDataCenter -Name DC2 | Remove-HPOVDataCenter
Remove "DC2" datacenter resource from the appliance.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVDataCenter | Remove-HPOVDataCenter
Remove Datacenter resources from the appliance.
Remove a datacenter resource.
Remove-HPOVDataCenter [-InputObject] <Object>[ [-ApplianceConnection] <Object>] [-WhatIf] <> [-Confirm] <> [<CommonParameters>]
A data center represents a physically contiguous area in which racks containing IT equipment are located. For example, you have IT equipment in two rooms or on separate floors. You could create a data center for each of these areas. Each server, enclosure, or power distribution device in your data center can report its power requirements, but it can be difficult to understand the power and cooling requirements for your data center as a whole. The appliance enables you to bring power and cooling management of your servers, enclosures, and power delivery devices together in a single management system. When you initialize the appliance for the first time, it creates a data center named Datacenter 1. The appliance provides this data center as a place to visualize your racks. You can rename or edit this data center to match the values and layout of your data center, you can use it as the basis for a planned data center model, or you can delete this data center without adverse effects.
This Cmdlet will remove 1 or more datacenter resources from an appliance. Removing a datacenter resource will not delete or remove associated resources, like Racks.
-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 |
-Confirm <>
Aliases | cf |
Required? | |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Datacenter object, from Get-HPOVDataCenter.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <>
Aliases | wi |
Required? | |
Position? | named |
Default value | |
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.DataCenter
Datacenter resource from Get-HPOVDataCenter.
System.Management.Automation.PSCustomObject
Object with status confirmation the resource was deleted.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVDataCenter -Name DC2 | Remove-HPOVDataCenter
Remove 'DC2' datacenter resource from the appliance.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVDataCenter | Remove-HPOVDataCenter
Remove Datacenter resources from the appliance.