03-10-2011 06:29 AM
Hello,
I have a question about the ut command. The command:
ut -cli -query all -export d:\TEST.txt -u USER -p PASSWORD
works fine and produces a file with all the endhosts. But I would like to give the "query" "option" a "name" like this:
ut -cli -query CUSTOMERA -export d:\TEST.txt -u USER -p PASSWORD
This does not work. I have under the GUI already created a custom report named "CUSTOMERA".
What I am trying to do is to:
1) Generate a report, filtering out and matching certain VLAN-names
2) Exporting that file to a textfile
3) Mailing that textfile to a customer.
Somebody tried this one?
Best Regards
Robert
Solved! Go to Solution.
03-11-2011 12:25 AM
wasthe query created with the same user you use for ut -cli?
when you run the command with your named query what output do you get, can you post a screenshot
03-10-2011 07:17 AM
what is your LMS version - and - if it is not LMS 4.x - what is your campus manager version ?
alternatively you could try to get the data as a xml output with the cmexport utility:
03-10-2011 11:57 PM
Hello,
We have version 3.2. I have also looked at the cmexport command and that is not working but I did not test it as much as the ut command.
Best Regards
Robert Maras
03-11-2011 12:25 AM
wasthe query created with the same user you use for ut -cli?
when you run the command with your named query what output do you get, can you post a screenshot
03-11-2011 02:32 AM
Hello, Mermel!
I think you nailed it. The layout and query was created with another account. I thought that was global. Thanks for your help.
It is now working.
Best regards
Robert Maras
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide