Enable HPOVDeviceUid - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Enable-HPOVDeviceUid

Enable UID of a device.

SYNTAX

Enable-HPOVDeviceUid [-InputObject] <Object> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

This Cmdlet will enable the UID of a managed or monitored resource, and only supports objects. Use Get-HPOVServer or Get-HPOVEnclosure to retrieve the required resource(s), which can be passed via the pipeline.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-InputObject <Object>

Aliases [-Server, -Enclosure, -Frame] Resource object to turn on the UID. Supported resources are Server Hardware and Enclosures.

Aliases Server, Enclosure, Frame, Resource
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
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

HPOneView.ServerHardware [System.Management.Automation.PSCustomObject] or HPOneView.Enclosure [System.Management.Automation.PSCustomObject]

Server Hardware or Enclosure resource.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

If successful, returns Appliance Async Task object to monitor.

System.Collections.ArrayList <HPOneView.Appliance.TaskResource>

Collection of Appliance Async Task objects to monitor.

Examples

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

Get-HPOVServer "MyEncl, Bay 1" | Enable-HPOVDeviceUid | Wait-HPOVTaskComplete

Enable the UID for "MyEncl, Bay 1" server.

Related Links


Top

HPE OneView 4.00 Library

Enable-HPOVDeviceUid

Enable UID of a device.

SYNTAX

Enable-HPOVDeviceUid [-InputObject] <Object> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

This Cmdlet will enable the UID of a managed or monitored resource, and only supports objects. Use Get-HPOVServer or Get-HPOVEnclosure to retrieve the required resource(s), which can be passed via the pipeline.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-InputObject <Object>

Aliases [-Server, -Enclosure, -Frame] Resource object to turn on the UID. Supported resources are Server Hardware and Enclosures.

Aliases Server, Enclosure, Frame, Resource
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
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

HPOneView.ServerHardware [System.Management.Automation.PSCustomObject] or HPOneView.Enclosure [System.Management.Automation.PSCustomObject]

Server Hardware or Enclosure resource.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

If successful, returns Appliance Async Task object to monitor.

System.Collections.ArrayList <HPOneView.Appliance.TaskResource>

Collection of Appliance Async Task objects to monitor.

Examples

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

Get-HPOVServer 'MyEncl, Bay 1' | Enable-HPOVDeviceUid | Wait-HPOVTaskComplete

Enable the UID for 'MyEncl, Bay 1' server.

Related Links


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