Forum Discussion

anh_diep's avatar
anh_diep
New Contributor
11 years ago

How can I programmatically edit Hosts and Tasks?

Hi there,



I've trawled the help files and scanned through this forum but cannot find anywhere that tells me how to programmatically edit the proerties of Hosts or Tasks.



For example, is it possible to programmatically update the Address field of a Host?



Thanks in advance.



Anh Diep

1 Reply

  • anh_diep's avatar
    anh_diep
    New Contributor
    Nevermind, I've just answered my own question, I just assigned an existing Host object to a variable and using VBScript I was able to update the Host's Address field using host.Address = "blahblah".



    Thanks anyway.