Get HPOVDataCenter - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Get-HPOVDataCenter

Retreive a defined DataCenter.

SYNTAX

Get-HPOVDataCenter[ [-Name] <String>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

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 retrieve all or a specific DataCenter resource object. If Remote Support has been enabled on the appliance, the DataCenter object will contain a RemoteSupportLocation property that contains the site location (if different from the Default DataCenter), and both the Primary and Secondary contacts.

Parameters

-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? false
Accept wildcard characters?    False

-Name <String>

DataCenter name. Supports wildcard (*) character.

Aliases None
Required? false
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)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

HPOneView.Facilities.DataCenter

A DataCenter resource object.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVDataCenter

Retrieve all defined DataCenters on the appliance.

 -------------------------- EXAMPLE 2 --------------------------

Get-HPOVDataCenter -Name DC*

Locate all DataCenter objects that begin with "DC".

 -------------------------- EXAMPLE 3 --------------------------

Get-HPOVDataCenter | Select -ExpandProperty RemoteSupportLocation

Retrieve the Remote Support Location property from the found DataCenter resource objects.

Related Links


Top

HPE OneView 4.00 Library

Get-HPOVDataCenter

Retreive a defined DataCenter.

SYNTAX

Get-HPOVDataCenter[ [-Name] <String>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

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 retrieve all or a specific DataCenter resource object. If Remote Support has been enabled on the appliance, the DataCenter object will contain a RemoteSupportLocation property that contains the site location (if different from the Default DataCenter), and both the Primary and Secondary contacts.

Parameters

-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? false
Accept wildcard characters?    False

-Name <String>

DataCenter name. Supports wildcard (*) character.

Aliases None
Required? false
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)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

HPOneView.Facilities.DataCenter

A DataCenter resource object.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVDataCenter

Retrieve all defined DataCenters on the appliance.

 -------------------------- EXAMPLE 2 --------------------------

Get-HPOVDataCenter -Name DC*

Locate all DataCenter objects that begin with 'DC'.

 -------------------------- EXAMPLE 3 --------------------------

Get-HPOVDataCenter | Select -ExpandProperty RemoteSupportLocation

Retrieve the Remote Support Location property from the found DataCenter resource objects.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️