@echo off
setlocal
echo [%DATE% %TIME%] HPE Insight Control power management rollback started...                                                                                  >> %LOGFILE%

copy /Y     "%BackupFolder%\ipmdce.war"                                       "%SIMInstallPath%\hpwebadmin\webapps\ipmdce.war"                                 >NUL 2>&1
copy /Y     "%BackupFolder%\powermgrVersion.xml"                              "%SIMInstallPath%\config\preload-plugins\73\ipm\addfiles\powermgrVersion.xml"    >NUL 2>&1 
copy /Y     "%BackupFolder%\ipm_migration.xml"                                "%SIMInstallPath%\config\migration\ipm_migration.xml"                            >NUL 2>&1 
copy /Y     "%BackupFolder%\en\index.htm"                                     "%SIMInstallPath%\hpwebadmin\webapps\mxhelp\powermgr\en\content\index.htm"       >NUL 2>&1 
copy /Y     "%BackupFolder%\home.htm"                                         "%SIMInstallPath%\hpwebadmin\webapps\mxhelp\powermgr\en\content\home.htm"        >NUL 2>&1 
copy /Y     "%BackupFolder%\ja\index.htm"                                     "%SIMInstallPath%\hpwebadmin\webapps\mxhelp\powermgr\ja\content\index.htm"       >NUL 2>&1 
copy /Y     "%BackupFolder%\zh_CN\index.htm"                                  "%SIMInstallPath%\hpwebadmin\webapps\mxhelp\powermgr\zh_CN\content\index.htm"    >NUL 2>&1 

echo [%DATE% %TIME%] HPE Insight Control power management rollback completed.                                                                                  >> %LOGFILE%
EXIT /B %ERRORLEVEL%
endlocal