GazzaJagman
2008-12-01 19:41:01 UTC
Please pardon my ignorance, I'm new to VBs and WMI.
I am running an audit script to see if our servers are built correctly. One
of my tasks wants me to list a server's Static / Persistent Routes to a CSV
file.
So far so good. I enumValues obtained from a reg key which I then
Object.Write to a CSV file. The out put is in the same format as the value
names are IP routes which have "," all over the place. How can i output these
IP routes with out the "," between each set of IPaddresses?
eg,
192.100.100.1,192.200.200.2,192.50.50.5,1
Regards,
Gareth Cooper
I am running an audit script to see if our servers are built correctly. One
of my tasks wants me to list a server's Static / Persistent Routes to a CSV
file.
So far so good. I enumValues obtained from a reg key which I then
Object.Write to a CSV file. The out put is in the same format as the value
names are IP routes which have "," all over the place. How can i output these
IP routes with out the "," between each set of IPaddresses?
eg,
192.100.100.1,192.200.200.2,192.50.50.5,1
Regards,
Gareth Cooper