Disable HPOVDeviceUid - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Disable-HPOVDeviceUid

Disable UID of a device.

SYNTAX

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

Detailed Description

This Cmdlet will disable 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 HPOneView.Appliance.Connection object or Name property value. 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>

Resource object to turn off 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" | Disable-HPOVDeviceUid | Wait-HPOVTaskComplete

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

Related Links


Top

HPE OneView 4.00 Library

Disable-HPOVDeviceUid

Disable UID of a device.

SYNTAX

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

Detailed Description

This Cmdlet will disable 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 HPOneView.Appliance.Connection object or Name property value. 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>

Resource object to turn off 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' | Disable-HPOVDeviceUid | Wait-HPOVTaskComplete

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

Related Links


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