Thanks for the input I will definetly look at those as I've found the few UDF's I've used in the past to be very useful and educational. Is is possible to use the AScan() with an array I type in with the @wksta macro or would this fail too because I'm not running this on the machines I want to shut down?

I'm going to go head the FAQ's and read the documentation again for a refresher. Thanks again