public PartialViewResult ExecuteRestore(string computerName, string sequenceNumber) { try { PSRemoting psr = new PSRemoting(computerName, config.FALCON_FORENSICS_USERNAME, config.FALCON_FORENSICS_PASSWORD, config.FALCON_FORENSICS_DOMAIN); SystemRestore restore = new SystemRestore(psr); restore.RestoreSystem(sequenceNumber); return(PartialView("_Success", "Restore has been successfully initialized on host " + computerName)); } catch (Exception e) { return(PartialView("_Error", e.Message)); } }