Title: Message
I would use NetAdmin::LocalGroupAddUsers
 
Win32::NetAdmin::LocalGroupAddUsers($machine, "Administrators", "GROUP_TO_ADD");
 
Kevin Ireland
Sr. Systems Engineer
Gentiva Health Services
(913) 814-2169
[EMAIL PROTECTED]
-----Original Message-----
From: Greenman, Ed [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 7:42 AM
To: [EMAIL PROTECTED]
Subject: Add global group to local admin groups

Our environment is all Windows 2000 - one forest, one domain.  We would like to run a script to add a specific global security group to the local admin groups on all of the PCs in our domain.  Is there an easy way of doing this with Perl?  The alternative appears to be to use the Computer Managemnent snap-in to go to each PC and add the group manually - too labor intensive.

Thanks in advance!

Reply via email to