The posted script is obviously a logon script. To turn it into an admin script would be a huge undertaking.
The script collects a lot of information and so you should be more specific as to what information you would like to gather through an admin script.
One possible approach would be to push the script out (with some revisions) to all machines and then schedule them with Task Scheduler. Search the board for ways to schedule tasks. There is a lot of good info posted on the use of JT.EXE and also several UDFs.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.