Add-ThinkSystemSnapshot

Short Description

Creates ThinkSystem storage snapshots.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Add-ThinkSystemSnapshot -Volume <CSanVolume> [-Name <string>]  [<CommonParameters>]

Detailed Description

This cmdlet creates a snapshot of a selected ThinkSystem storage volume.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Volume

Specifies the storage volume for which you want to take snapshot.

Accepts the CSanVolume object. To create this object, run the Get-ThinkSystemVolume cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

Name

Specifies the name you want to assign to the snapshot.

String

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Creating Snapshot

This example shows how to create a snapshot of a volume.

$apphost = Get-ThinkSystemHost -Name "ThinkSystem Store"

$volume = Get-ThinkSystemVolume -Host $apphost -Name "Vol 01"

Add-ThinkSystemSnapshot -Volume $volume -Name "vol_SS_01"

Perform the following steps:

  1. Run the Add-ThinkSystemHost cmdlet. Specify the Name parameter value. Save the result to the $apphost variable.
  2. Run the Get-ThinkSystemVolume cmdlet. Specify the Name and Host parameter values. Save the result to the $volume variable.
  3. Run the Add-ThinkSystemSnapshot cmdlet. Set the $volume variable as the Volume parameter value. Specify the Name parameter value.

Related Commands