This should not work with "NoVarsInStrings"

$Group.Add("WinNT://$Domain/Domain Users")

should be:

$Group.Add("WinNT://" + $Domain + "/Domain Users")

You should also check @error to insure the process completed without errors.


Edited by Howard Bullock (2003-12-03 05:01 PM)
_________________________
Home page: http://www.kixhelp.com/hb/