@echo off set omconfig="C:\Program Files\Dell\SysMgt\oma\bin\omconfig.exe" %omconfig% system alertaction event=powersupply alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat powersupply\"" %omconfig% system alertaction event=tempwarn alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat tempwarn\"" %omconfig% system alertaction event=tempfail alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat tempfail\"" %omconfig% system alertaction event=fanwarn alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat fanwarn\"" %omconfig% system alertaction event=fanfail alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat fanfail\"" %omconfig% system alertaction event=voltwarn alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat voltwarn\"" %omconfig% system alertaction event=voltfail alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat voltfail\"" %omconfig% system alertaction event=currentwarn alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat currentwarn\"" %omconfig% system alertaction event=currentfail alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat currentfail\"" %omconfig% system alertaction event=intrusion alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat intrusion\"" %omconfig% system alertaction event=redundegrad alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat redundegrad\"" %omconfig% system alertaction event=redunlost alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat redunlost\"" %omconfig% system alertaction event=memprefail alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat memprefail\"" %omconfig% system alertaction event=memfail alert=true broadcast=true execappath="cmd /c \"C:\Scripts\dellomsa_notifications.bat memfail\"" pause exit