what is the inventory script ? nsh ? type 1, type 2 ? how is the hostname command being run ? what os is having a problem ? if you run the nsh script or file deploy that correctly gathers the hostname w/ the same command against the target where the inventory script doesn't get the hostname, does the other script or fdj work ?
We are copying the Inventory script through a File Deploy job.
OS having Problem is Linux
ok, so you copy the script, which has what in it ? to the target, and then in the post- command for the fdj you are running the script (how)? and the output is what ?
it's really hard to figure out the problem w/o the exact details and output from your env.