public override void ExecuteCmdlet()
 {
     try
     {
         if (!ProcessParameters())
         {
             return;
         }
         ConfirmAction(
             Force.IsPresent,
             string.Format(Resources.RemoveAzureStorSimpleDeviceBackupWarningMessage, finalBackupId),
             string.Format(Resources.RemoveAzureStorSimpleDeviceBackupMessage, finalBackupId),
             BackupId,
             () =>
         {
             if (WaitForComplete.IsPresent)
             {
                 var deleteTaskStatusInfo = StorSimpleClient.DeleteBackup(deviceId, finalBackupId);
                 HandleSyncTaskResponse(deleteTaskStatusInfo, "remove");
             }
             else
             {
                 var taskresult = StorSimpleClient.DeleteBackupAsync(deviceId, finalBackupId);
                 HandleAsyncTaskResponse(taskresult, "remove");
             }
         });
     }
     catch (Exception exception)
     {
         this.HandleException(exception);
     }
 }