Remove HPOVStorageSystem - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Remove-HPOVStorageSystem

Remove a Storage System

SYNTAX

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

Detailed Description

This cmdlet will assist with removing a discovered and managed storage system from the appliance.

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.

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

-InputObject <Object>

Aliases [-StorageSystem, -Name] Name or URI of the managed storage system.

Aliases uri, name, StorageSystem
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>

Switch to force removal of a storage system the appliance can no longer communicate with.

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)

Input Types

HPOneView.Storage.System [System.Management.Automation.PSCustomObject]

Storage System resource object

System.Collections.ArrayList <HPOneView.Storage.System>

Collections of Storage System resource objects

Return Values

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

Returns an async task resource to monitor.

Examples

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

Remove-HPOVStorageSystem HP3PAR_2

Remove "HP3PAR_2" storage system from the appliance.

Related Links


Top

HPE OneView 4.00 Library

Remove-HPOVStorageSystem

Remove a Storage System

SYNTAX

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

Detailed Description

This cmdlet will assist with removing a discovered and managed storage system from the appliance.

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.

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

-InputObject <Object>

Aliases [-StorageSystem, -Name] Name or URI of the managed storage system.

Aliases uri, name, StorageSystem
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>

Switch to force removal of a storage system the appliance can no longer communicate with.

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)

Input Types

HPOneView.Storage.System [System.Management.Automation.PSCustomObject]

Storage System resource object

System.Collections.ArrayList <HPOneView.Storage.System>

Collections of Storage System resource objects

Return Values

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

Returns an async task resource to monitor.

Examples

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

Remove-HPOVStorageSystem HP3PAR_2

Remove 'HP3PAR_2' storage system from the appliance.

Related Links


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