Save-InstantCloneSharedSnapshot

Copy an InstantClone snapshot to the shared folder.

Syntax

Save-InstantCloneSharedSnapshot -SnapshotName <string> [-NewSnapshotName <string>] [<CommonParameters>]

Save-InstantCloneSharedSnapshot -SnapshotId <string> [-NewSnapshotName <string>] [<CommonParameters>]

Description

Snapshots are local to your machine, but you may want another user to be able to use your snapshot. To do this, use a 'shared snapshot'. A shared snapshot has metadata next to it in a json file. Anyone who sets his SharedSnapshotFolder to the value of your SharedSnapshotsFolder will be able to clone snapshots there. This cmdlet exports 'local' snapshot to this directory.

Alternatively, you can snapshot directly to this folder by using the SaveInstantCloneSnapshot cmdlet with the -PutInSharedFolder switch.

Parameters

-SnapshotName <System.String>

The name of the snapshot to copy. If there are multiple snapshots of the same name, the most recent is chosen; but if you want a specific one, also use the SnapshotId parameter.

Aliases None
Required?true
Position?named
Default Value None
Accept Pipeline Inputfalse
Accept Wildcard Charactersfalse

-NewSnapshotName <System.String>

The new name to give the shared snapshot. If this parameter is not specified, the name of the source snapshot is used.

Aliases None
Required?false
Position?named
Default Value None
Accept Pipeline Inputfalse
Accept Wildcard Charactersfalse

-SnapshotId <System.String>

The id of the source snapshot to copy. This is optional, but may be useful if there are mulitple source snapshots with the same name.

Aliases None
Required?true
Position?named
Default Value None
Accept Pipeline Inputfalse
Accept Wildcard Charactersfalse

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see http://technet.microsoft.com/en-us/library/hh847884.aspx.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Return values

The output type is the type of the objects that the cmdlet emits.

Examples

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

Save-InstantCloneSharedSnapshot -SnapshotName AWSnap1  -NewSnapshotName AWSnapShared1