/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


K1000 - Get a file from clients

01/19/2017 1190 views
So, Autodesk sent us this file to make an inventory of Autodesk's softwares installed in our machines. This is done by an executable with a bunch of dlls and in the end it generates a file without extension in a folder where the .exe was located. The thing is: we have to execute this .exe in evey single machine.

I already managed to copy the files via File Synchronizations in K1000 (within a Winzip file) to a Windows Directory in the clients and then execute the .exe via scripting. But I don't know if there's any way I can get the generated files in each client back somehow, and to be honest I doubt it's possible. 

Is important to say that some of the computers are not in the local network to copy via a bat or something. Some of them are off site.

1 Comment   [ + ] Show comment

Comments

  • Hi Yuri, were you able to do this? Trying the same right now

All Answers

1
you can create a CIR to read the file into inventory this way
ShellCommandTextReturn(type file.txt)
then run a report on that cir to create a list.

or upload a file in your script

Answered 01/19/2017 by: SMal.tmcc
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ