I must have a look at this cypher udf. Thats actually a very good idea. Thanks Glenn. And also good to know exactly what dataspike was trying to do in his script. WMI is not an area that I am particularly good at.