Remove HPOVBaseline - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Remove-HPOVBaseline

Delete a Baseline from an appliance repository.

SYNTAX

Remove-HPOVBaseline [-InputObject] <Object>[ [-ApplianceConnection] <Object>][ [-Force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

This Cmdlet provides the ability to remove one or more SPP Baselines from one or more appliances.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? false
Position? 1
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

-Force <SwitchParameter>

Force remove the resource.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-InputObject <Object>

Aliases [-b, -Baseline] The SPP Baseline resource Name or Object. Can be accepted via pipeline input.

Aliases b, Baseline
Required? true
Position? 0
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

<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.Appliance.Baseline [System.Management.Automation.PSCustomObject]

Source HPE OneView Baseline from Get-HPOVBaseline

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

The progress of uploading the file to the appliance, and in-progress or completion result

Examples

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

Get-HPOVBaseline | Remove-HPOVBaseline

Remove all baselines from any connected appliance.

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

Remove-HPOVBaseline -Name "My Custom Baseline"

Remove "My Custom Baseline" from MyAppliance.domain.com, using the -Name alias to the InputObject parameter.

Related Links


Top

HPE OneView 4.00 Library

Remove-HPOVBaseline

Delete a Baseline from an appliance repository.

SYNTAX

Remove-HPOVBaseline [-InputObject] <Object>[ [-ApplianceConnection] <Object>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

This Cmdlet provides the ability to remove one or more SPP Baselines from one or more appliances.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? false
Position? 1
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

-InputObject <Object>

Aliases [-b, -Baseline] The SPP Baseline resource Name or Object. Can be accepted via pipeline input.

Aliases b, Baseline
Required? true
Position? 0
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

<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.Appliance.Baseline [System.Management.Automation.PSCustomObject]

Source HPE OneView Baseline from Get-HPOVBaseline

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

The progress of uploading the file to the appliance, and in-progress or completion result

Examples

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

Get-HPOVBaseline | Remove-HPOVBaseline

Remove all baselines from any connected appliance.

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

Remove-HPOVBaseline -Name 'My Custom Baseline'

Remove 'My Custom Baseline' from MyAppliance.domain.com, using the -Name alias to the InputObject parameter.

Related Links


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