Hi Guys,

Im trying to export workstation names from a Kix script into a text file

so for instance. I have a kix scripts that has a
If @wksta = "ws****"
? do this
else
?do this

so i want to have a script that looks through the existing script and finds any words with WS at the beggining of it and exports the whole name of the computer to a text document then moves onto the next. this is so they can be used later to have a script that moves them all into a group in AD. There are about 400 of them, hense wanting to do it scripted.

Im hoping someone out there can give me a pointer in the right direction.

Much appreciated :-)