Get HPOVLabel - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Get-HPOVLabel

Return created label resources.

SYNTAX

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

Detailed Description

Labels identify resources so you can organize them into groups. For example, you might want to identify the servers that are used primarily by the Finance team, or identify the storage systems assigned to the Asia/Pacific division.

This Cmdlet will return all of the created labels on the specifed appliance.

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? 1
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Name <String>

The name of the Label to associate resources to. If Label does not exist, a new one will be created.

Aliases None
Required? false
Position? 0
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.Appliance.Label

Label resource.

Examples

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

Get-HPOVLabel

Return all labels from the appliance.

Related Links


Top

HPE OneView 4.00 Library

Get-HPOVLabel

Return created label resources.

SYNTAX

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

Detailed Description

Labels identify resources so you can organize them into groups. For example, you might want to identify the servers that are used primarily by the Finance team, or identify the storage systems assigned to the Asia/Pacific division.

This Cmdlet will return all of the created labels on the specifed appliance.

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? 1
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Name <String>

The name of the Label to associate resources to. If Label does not exist, a new one will be created.

Aliases None
Required? false
Position? 0
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.Appliance.Label

Label resource.

Examples

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

Get-HPOVLabel

Return all labels from the appliance.

Related Links


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