Theres a few ways of doing this. The easiest would be to do a search for software inventory on this board and look at how other people run there scripts.

You could enter the script into your login script if you have one and have it send details to a log file.
Or do what I do and just have a list of pc's and get the script to read the list and then report back. The only problem with this is that you wont be able to use macros as they can only run on the pc that the script is executed on.

Can you post your script and i could help further?
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields