This project is read-only.

NAME

Remove-HPOVPowerDevice

SYNOPSIS

Remove power device (iPDU)

SYNTAX

Remove-HPOVPowerDevice -powerDevice <Object> [-force <Boolean>] [-WhatIf] [-confirm] [<CommonParameters>]

DESCRIPTION

Removes a power device (iPDU) from appliance management.

PARAMETERS

-powerDevice <Object>
The Power Device object(s), name(s) or uri(s) to be removed from management.
Aliases None.           
Required? true
Position? named
Default value <none>
Accept pipeline input? true (ByValue) 
Accept wildcard characters?    false         
-force <Boolean>

Set to $true to force-remove the power device.
Force-removing will succeed even when there are connectivity issues or resource errors.

Aliases None.           
Required? false
Position? 2
Default value GET
Accept pipeline input? false
Accept wildcard characters?    false         
-WhatIf [<SwitchParameter>]
Aliases None.           
Required? false
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false         
-Confirm [<SwitchParameter>]
Aliases None.           
Required? false
Position? named
Default value <none>
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).

INPUTS

System.ObjectSystem.Management.Automation.PSCustomObject

Power Device (iPDU) Resource Object.

OUTPUTS

System.ObjectSystem.Management.Automation.PSCustomObject

Removal async task.

RELATED LINKS

EXAMPLES

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

PS C:\> $task = Remove-HPOVPowerDevice -powerDevice "iPDU16"
PS C:\> Wait-HPOVTaskComplete $task.uri
Remove the power device specifed by name. Wait for remove to complete.

-------------------------- EXAMPLE 2 --------------------------

PS C:\> $ipdu = Get-HPOVPowerDevice -name "iPDU24"
PS C:\> Remove-HPOVPowerDevice $ipdu -force $true -confirm:$false
Force-Remove the profile specifed by $ipdu. Disable confirmation prompt.
-------------------------- EXAMPLE 3 --------------------------

PS C:\> Get-HPOVPowerDevice | Remove-HPOVPowerDevice
Search for all power devices and remove them from appliance.

Last edited Mar 7, 2014 at 11:58 PM by ChrisLynchHP, version 4