KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

WMI Tune up Reply

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Kris



Joined: 12 May 2010
Posts: 375

PostPosted: Thu Oct 18, 2018 4:45 am    Post subject: WMI Tune up Reply Reply with quote

OK, I have a WMI test like this:

Code:
select commandline from Win32_Process where caption='MyProgram.exe' and privatepagecount > 20000000


If the query returns result, it will be something like:

Code:
MyProgram.exe SysID=1,WS=5,IP=192.168.0.1,Port=1000,TimeOut=60


What I would like is to have the value of the 'Port' command line argument as Tuned Up Reply.

Is that even possible?

Thanks!
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Oct 18, 2018 6:26 am    Post subject: Reply with quote

If result (command line) always have the same format you may use getnumber operator
["%SuggestedReply%" getnumber 7]

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index