-
Notifications
You must be signed in to change notification settings - Fork 52
Disable HPOVDeviceUid
Disable UID of a device.
Disable-HPOVDeviceUid [-InputObject] <Object> [-ApplianceConnection] <Object> [<CommonParameters>]
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.
-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)
HPOneView.ServerHardware [System.Management.Automation.PSCustomObject] or HPOneView.Enclosure [System.Management.Automation.PSCustomObject]
Server Hardware or Enclosure resource.
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.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVServer "MyEncl, Bay 1" | Disable-HPOVDeviceUid | Wait-HPOVTaskComplete
Disable the UID for "MyEncl, Bay 1" server.
Disable UID of a device.
Disable-HPOVDeviceUid [-InputObject] <Object> [-ApplianceConnection] <Object> [<CommonParameters>]
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.
-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)
HPOneView.ServerHardware [System.Management.Automation.PSCustomObject] or HPOneView.Enclosure [System.Management.Automation.PSCustomObject]
Server Hardware or Enclosure resource.
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.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVServer 'MyEncl, Bay 1' | Disable-HPOVDeviceUid | Wait-HPOVTaskComplete
Disable the UID for 'MyEncl, Bay 1' server.