collect data from remote TSM server

sabrine

ADSM.ORG Member
Joined
Mar 29, 2016
Messages
20
Reaction score
1
Points
0
Hello,
i'm actually working on TSM monitoring project i have the TSM server installed on virtual machine. i want to collect tsm data from remote server to another database which i created for monitoring. i did a .bat script and i executed it by "psexec " tool which contains data that i want to query and i'm executing it every 5 min but the problem that i don't know how to redirect the ouput of psexec of the script to another txt file for example. i don't know if it's the right way to do that .i really need help. Thank you in advance.
 
I'm not sure what exactly your script is doing so sorry if this has already been tried, but have you tried redirecting the output from the command to file using '>' or '>>' depending on requirements?
e.g. psexec [your commands] > c:\pathto\myfilehere.txt
 
Back
Top