Populating a field on the Web UI using a script.

I am trying to set up a field on the Web UI to be populated when a computer object is viewed using a script.  For example: Users look at the properties of a AD computer -> script is executed, and the result is shown in a read only field.

Thanks!