public override void ExecuteCmdlet() { try { if (!ProcessParameters()) { return; } this.ConfirmAction( Force.IsPresent, string.Format(Resources.StartAzureStorSimpleBackupCloneJobWarningMessage, BackupId), string.Format(Resources.StartAzureStorSimpleBackupCloneJobMessage, BackupId), BackupId, () => { JobResponse response = null; var request = new TriggerCloneRequest() { TargetDeviceId = targetDeviceId, BackupSetId = BackupId, SourceSnapshot = Snapshot, ReturnWorkflowId = true, TargetVolName = CloneVolumeName, TargetACRList = TargetAccessControlRecords ?? new List <AccessControlRecord>() }; response = StorSimpleClient.CloneVolume(sourceDeviceId, request); HandleDeviceJobResponse(response, "start"); } ); } catch (Exception ex) { this.HandleException(ex); } }