NAME

Remove-HPOVProfile

SYNOPSIS

Delete profile(s)

SYNTAX

Remove-HPOVProfile [-profile] <Object> [-force <SwitchParameter>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Delete one or multiple profiles.

PARAMETERS

-profile <Object>
The server profile object(s), name(s) or URI(s) to be removed.
Required? true
Position? 1
Default value <none>
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-force <SwitchParameter>
Set to force-delete the profile.
For example, force-remove will successfully remove the profile, even when connectivity has been lost to the server or enclosure.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
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

Accepted.

OUTPUTS

Removal task.

RELATED LINKS

EXAMPLES

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

PS C:\> $task = Remove-HPOVProfile -profile "Profile6"
PS C:\> Wait-HPOVTaskComplete $task.uri

Remove the profile specifed by name. Wait for remove to complete.

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

PS C:\> $profile = Get-HPOVProfile -name "Profile2"
PS C:\> Remove-HPOVProfile $profile -confirm:$false

Remove the profile specifed by $profile. Disable confirmation prompt.

-------------------------- EXAMPLE 3 --------------------------

PS C:\> Get-HPOVProfile | Remove-HPOVProfile

Search for all profiles and remove them from appliance.

Last edited Dec 31, 2013 at 5:34 AM by ChrisLynchHP, version 2