White Papers
Example scripts
44 Dell EMC SC Series: VMware Site Recovery Manager Best Practices | 2007-M-BP-V
# Get the volume
$Volume = Get-DellScVolume -Connection $Connection `
-ScName $ScName `
-VolumeFolderPath $VolumeFolderPath `
-Name $VolumeName
# Create a Snapshot that will expire in 1 day
$OneDayInMinutes = 1 * 24 * 60 # 1 day * 24 hours/day * 60 minutes/hour
$Snapshot = New-DellScVolumeReplay -Connection $Connection `
-Instance $Volume `
-Description $SnapshotDescription `
-ExpireTime $OneDayInMinutes
This PowerShell script will connect to a DSM which is managing an SC Series system named
sc12.techsol.local with a username srmadmin and prompt for a password to take a snapshot of lun40 with
a snapshot expiration set to 1 day. This script can be run from any PowerShell prompt provided the
DellStorage.ApiCommandSet.psd1 module exists in the specified folder location or has already been
imported.