Remove HPOVExternalRepository - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Remove-HPOVExternalRepository

Remove an existing external baseline repository.

SYNTAX

Remove-HPOVExternalRepository [-InputObject] <Object>[ [-Force] <SwitchParameter>][ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Array>] [-WhatIf] <> [-Confirm] <> [<CommonParameters>]

Detailed Description

A firmware repository enables you to store firmware bundles and deploy them across your environment. An externally managed HTTP/HTTPS web server can be added to the appliance as a repository. It is a user-maintained HTTP/HTTPS web server. You can upload firmware bundles in a specific directory and then register the HTTP/HTTPS server with HPE OneView. This functionality is supported for Linux and Windows systems.

The recommended types of external web servers to use with the repository follow:

* Apache
* Internet Information Services (IIS)

NOTE: Only one external repository can be added.

This Cmdlet supports removing an existing external repository. Removing an external baseline will cause any assigned baselines in Server Profiles or Server Profile Templates to report the baseline as "removed". Any server profile that is configured to use a firmware bundle residing in the external repository must not be in "staging" state.

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

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

Aliases Appliance
Required? false
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Confirm <>

Aliases cf
Required?
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? false
Accept wildcard characters?    False

-InputObject <Object>

Provide the external repository object to remove.

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

-WhatIf <>

Aliases wi
Required?
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.BaselineRepository [System.Management.Automation.PSCustomObject]

The external repository object from Get-HPOVBaselineRepository

Return Values

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

The async task for the caller to monitor.

System.Collections.ArrayList <HPOneView.Appliance.TaskResource>

Multiple async task resource objects.

Examples

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

Get-HPOVBaselineRepository -Name MyRepoName -ErrorAction Stop | Remove-HPOVExternalRepository

Remove the existing external repository from the appliance.

Related Links


Top

HPE OneView 4.00 Library

Remove-HPOVExternalRepository

Remove an existing external baseline repository.

SYNTAX

Remove-HPOVExternalRepository [-InputObject] <Object>[ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Array>] [-WhatIf] <> [-Confirm] <> [<CommonParameters>]

Detailed Description

A firmware repository enables you to store firmware bundles and deploy them across your environment. An externally managed HTTP/HTTPS web server can be added to the appliance as a repository. It is a user-maintained HTTP/HTTPS web server. You can upload firmware bundles in a specific directory and then register the HTTP/HTTPS server with HPE OneView. This functionality is supported for Linux and Windows systems.

The recommended types of external web servers to use with the repository follow:

* Apache
* Internet Information Services (IIS)

NOTE: Only one external repository can be added.

This Cmdlet supports removing an existing external repository. Removing an external baseline will cause any assigned baselines in Server Profiles or Server Profile Templates to report the baseline as 'removed'. Any server profile that is configured to use a firmware bundle residing in the external repository must not be in 'staging' state.

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

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

Aliases Appliance
Required? false
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Confirm <>

Aliases cf
Required?
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-InputObject <Object>

Provide the external repository object to remove.

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

-WhatIf <>

Aliases wi
Required?
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.BaselineRepository [System.Management.Automation.PSCustomObject]

The external repository object from Get-HPOVBaselineRepository

Return Values

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

The async task for the caller to monitor.

System.Collections.ArrayList <HPOneView.Appliance.TaskResource>

Multiple async task resource objects.

Examples

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

Get-HPOVBaselineRepository -Name MyRepoName -ErrorAction Stop | Remove-HPOVExternalRepository

Remove the existing external repository from the appliance.

Related Links


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