Forum Moderators: open
I have been using WMI and VBS stored on a server but in order for these to work I have to download the scripts to the local machine (which is a pain).
Has anyone used JS to access this information (I'm a bit of a newbie when it comes to JS)?
Thanks...
We want to provide a technician who is replacing an old machine with a new machine with the ability to discover the old asset's details, put this in the html form they have open in the browser and then submit the form to a database.
They then do much the same on the new machine. They bring up the details of the old machine (by accessing the database record) then discover the new machine's details by pressing a button on the form (thus pairing off the machines).
So.... if there's a cleaner way to do this that you know of (we are using asp.net) then I'm all ears.
(We can do it by running a VBScript from the cmd window which calls WMI (W2K and XP) and creates a text file which is then read by the JS within the form but the tech has to physically run the script and we are trying to avoid this step.)