Unsolved
This post is more than 5 years old
29 Posts
0
32485
May 16th, 2013 14:00
Alert Application
Question. I am utilizing the Alert Launch Application utility on Dell Openmanage Essentials.
For some reason when I utilize the Alert Application Launch tool, my power shell script never runs. It gives a interactive services prompt and does not run the script. However, it does run the script IF I run the script manually.
Under the executable name I have powershell.exe then for the arguments I have the path to the .ps1 file. I have done all sorts of variables and all sorts of ways, I even wrote a .bat file to kick off the powershell script thinking that may work.
I am literally exhausted at what exactly is causing this script to not run. Cliff notes is, the script runs if I run it myself, the script even runs with the Dell Essentials Remote Task command (which requires me to input my user/password as the only real difference).
Is there something I am missing? My script runs a powershell script that sends users a message on lync letting them know if their server is down or what have you. Thanks for any help!
-Jason


DELL-Rob C
4 Apprentice
•
2.8K Posts
0
May 16th, 2013 14:00
Hi Jason,
Thanks for your post. We have a PS whitepaper on www.delltechcenter.com/ome. See if that will provide a bit more guidance that will help. If not, let me know.
Regards,
Rob
en.community.dell.com/.../20024495.aspx
JasonEvansIT
29 Posts
0
May 17th, 2013 06:00
I really wish that solved my problem. I of course set powershell's execution policy to unrestricted, (on x86 as well), enabled PS-remoting. This is a win2008R2 virtual server, I'm running OME 1.1 of course, and no other issue comes around with the software for the one exception of the Alert Application Launch utility.
I tried to run a bat file that triggered the PS script, the bat file worked, not the PS script. I turned the PS script into a .exe, that didn't work. I tried all various ways of putting it into the launch box, and all to no avail.
However, whenever I can tell that it WANTS to work, but how the dell software is interacting with the OS is the barrier I believe. I went through all the white papers, and found a couple pages around the internet talking about it, but no one with a real solution.
Any help would be much much much appreciated this is driving me crazy.
-Jason
JasonEvansIT
29 Posts
0
May 22nd, 2013 06:00
I found out what the problem was. The Dell Services were running on the local system account, which disabled the ability of my powershell script to actually kick off. Is this intended, or was the local system account intended to actually run those scripts and I'm just patching (metaphorically) something that shouldn't have been patched?
andybadmin
2 Posts
0
April 9th, 2015 10:00
Jason, I'm having this same issue. Can you say exactly what you did to get it working? What do you mean by Dell Services were running on the local system account?
JasonEvansIT
29 Posts
0
April 9th, 2015 11:00
Hey man, its funny you write in this thread, because what I did before worked, but it was so long ago that I forgot wtf I did and now, i have to refigure out what exactly I did, but now for a new operating system.
Before, I believe I set the DSM Data services to "work interactive" on the log on options under services.
That was for 2008, now for 2012, I tried a regedit and a reboot.
Whatever the case may be, if you figure it out before I do, be a IT Bro, and let me know what you did that ended up fixing it.
I wish some of this stuff is as simple as the manual looks, "ya just simply put down the exact path and it should work", when in MY reality at least, that's the farthest from the truth sadly.
JasonEvansIT
29 Posts
0
April 9th, 2015 14:00
Going to make a new post actually, since we can't be the only ones.
andybadmin
2 Posts
0
April 9th, 2015 22:00
I don't have it working yet. I've done a lot of looking but there is very little information ie troubleshooting. I do have the email notifications working, that was straight forward.
It has to be some kind of an issue with how openmanage essentials interatacts with Win Server 2012. The commands all run fine from the command prompt. I have tried .cmd and .ps1 files. Since the documentations specifies .exe and .bat files, I tried using a bat file too. I'll work on it some tomorrow.
Sure would be nice to get it working, because the .cmd file writes a file to a directory that initiates a txt message, which is what I really want. I don't check my email all the time.
JasonEvansIT
29 Posts
0
April 10th, 2015 07:00
ya dude, all my bat file does is kick off cmd.exe/msg.exe to alert site sysadmins their server has problems.