Should be codeable using WMI and/or ADSI ...
_________________________