I'm more sys-admin then I am programmer so here goes.
Running BGinfo to put up system stats on servers (HP mostly) but also employing WMI queries as well.
i.e. pull serial number & product number from WMI query in BGinfo,
The second query is what I am having trouble with because when displayed on screen it looks bad.
Is there a way to tidy the output via vbs?
Preferred result just like the first query for the serial:
This is my attempt and it displays the output to BGInfo but with the same tacky output which needs tidying up but I don't have a clue how to do that part.
So do the brain-trust of Windows Secrets Lounge have any suggestions/solution(s)?
Note: If this is not in the right section please move appropriately.