try copying the inv script and kix32 to the remote machine then remotexec() it.

You'll have one script to enum and ping and copy the files to the target machine and a seperate code that actually does the inventory
_________________________
How to ask questions the smart way <-----------> Before you ask