-
Notifications
You must be signed in to change notification settings - Fork 52
Remove HPOVUnmanagedDevice
Remove an Unmanaged Device.
Remove-HPOVUnmanagedDevice [-UnmanagedDevice] <Object>[ [-force] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Use this Cmdlet to remove an Unmanaged Device from the appliance.
-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 |
-Confirm <SwitchParameter>
Aliases | cf |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-UnmanagedDevice <Object>
Alias [-name, -uri]
The Name, URI or Object of the Unmanaged Device to remove.
Aliases | uri, name |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <SwitchParameter>
Aliases | wi |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-force <SwitchParameter>
Set to force-remove the resource.
When the request is accepted by the appliance, it does not return an Async Task Resource.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
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)
HPOneView.UnmanagedResource [System.Management.Automation.PSCustomObject]
Unmanaged Device resource object
System.Management.Automation.PSCustomObject
When using the -Force parameter, a PSCustomObject is returned indicating successful removal of the resource
-------------------------- EXAMPLE 1 --------------------------Remove-HPOVUnmanagedDevice MyDevice
Remove the Unmanaged Device "MyDevice" from the appliance.
-------------------------- EXAMPLE 2 --------------------------Remove-HPOVUnmanagedDevice MyDevice -confirm:$false
Remove the Unmanaged Device "MyDevice" from the appliance and do not prompt for confirmation.
-------------------------- EXAMPLE 3 --------------------------Get-HPOVUnmanagedDevice | Remove-HPOVUnmanagedDevice
Get all Unmanaged Devices on the appliance and remove them.
Remove an Unmanaged Device.
Remove-HPOVUnmanagedDevice [-UnmanagedDevice] <Object>[ [-force] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Use this Cmdlet to remove an Unmanaged Device from the appliance.
-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 |
-Confirm <SwitchParameter>
Aliases | cf |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-UnmanagedDevice <Object>
Alias [-name, -uri]
The Name, URI or Object of the Unmanaged Device to remove.
Aliases | uri, name |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <SwitchParameter>
Aliases | wi |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-force <SwitchParameter>
Set to force-remove the resource.
When the request is accepted by the appliance, it does not return an Async Task Resource.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
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)
HPOneView.UnmanagedResource [System.Management.Automation.PSCustomObject]
Unmanaged Device resource object
System.Management.Automation.PSCustomObject
When using the -Force parameter, a PSCustomObject is returned indicating successful removal of the resource
-------------------------- EXAMPLE 1 --------------------------Remove-HPOVUnmanagedDevice MyDevice
Remove the Unmanaged Device 'MyDevice' from the appliance.
-------------------------- EXAMPLE 2 --------------------------Remove-HPOVUnmanagedDevice MyDevice -confirm:$false
Remove the Unmanaged Device 'MyDevice' from the appliance and do not prompt for confirmation.
-------------------------- EXAMPLE 3 --------------------------Get-HPOVUnmanagedDevice | Remove-HPOVUnmanagedDevice
Get all Unmanaged Devices on the appliance and remove them.