New HPOVStorageVolumeSnapshot - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

New-HPOVStorageVolumeSnapshot

Create new Storage Volume Snapshot resource.

SYNTAX

New-HPOVStorageVolumeSnapshot [-InputObject] <Object> [-Name] <String> [-Description] <String> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

This Cmdlet will help create a Storage Volume Snapshot from an existing Storage Volume resource. If a Snapshot Storage Pool has not been configured for the Storage Volume, the Snapshot cannot be created.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

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

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

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

-Description <String>

The description for the Storage Volume Snapshot.

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

-InputObject <Object>

Aliases [-Volume]

Specify the Storage Volume object to create a snapshot for.

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

-Name <String>

Name of Snapshot. The parameter defaults to "{volumeName}_{timestamp}" variables provided by the appliance.

Aliases None
Required? true
Position? 1
Default value {volumeName}_{timestamp}
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.Volume [System.Management.Automation.PSCustomObject]

Storage volume resource object

Return Values

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

Async task to create storage volume snapshot

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

Multiple async tasks

Examples

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

Get-HPOVStorageVolume "Volume 1" -ApplianceConnection hpov.domain.com | New-HPOVStorageVolumeSnapshot

Create a new storage volume snapshot using the default values.

Related Links


Top

HPE OneView 4.00 Library

New-HPOVStorageVolumeSnapshot

Create new Storage Volume Snapshot resource.

SYNTAX

New-HPOVStorageVolumeSnapshot [-InputObject] <Object> [-Name] <String> [-Description] <String> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

This Cmdlet will help create a Storage Volume Snapshot from an existing Storage Volume resource. If a Snapshot Storage Pool has not been configured for the Storage Volume, the Snapshot cannot be created.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

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

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

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

-Description <String>

The description for the Storage Volume Snapshot.

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

-InputObject <Object>

Aliases [-Volume]

Specify the Storage Volume object to create a snapshot for.

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

-Name <String>

Name of Snapshot. The parameter defaults to '{volumeName}_{timestamp}' variables provided by the appliance.

Aliases None
Required? true
Position? 1
Default value {volumeName}_{timestamp}
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.Volume [System.Management.Automation.PSCustomObject]

Storage volume resource object

Return Values

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

Async task to create storage volume snapshot

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

Multiple async tasks

Examples

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

Get-HPOVStorageVolume 'Volume 1' -ApplianceConnection hpov.domain.com | New-HPOVStorageVolumeSnapshot

Create a new storage volume snapshot using the default values.

Related Links


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