Copy an InstantClone snapshot to the shared folder.
Save-InstantCloneSharedSnapshot -SnapshotName <string> [-NewSnapshotName <string>] [<CommonParameters>] |
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.
-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 Input | false |
| Accept Wildcard Characters | false |
-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 Input | false |
| Accept Wildcard Characters | false |
-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 Input | false |
| Accept Wildcard Characters | false |
<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.
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
|