Scripting question



Hi

I have the following question regarding a script I need to build in our 2003 domain,

The purpose of the script is to add a Domain Group in to the Local Administrator group on the client if there is a group that have the name: Global_Grp_LocalAdmin_<COMPUTERNAME>.

Is this possible?

Regards
Jonas Lindqvist

.



Relevant Pages

  • Re: Script for your enjoyment
    ... Another environment specific aspect. ... I do not maintain any databases ... The script should do that for you. ... isn't anyone checking if a domain group exists before they add it". ...
    (microsoft.public.scripting.wsh)
  • Re: Add domain user to local group script troubleshoot
    ... This script looks like it would be extremely helpful. ... changing domains and we have the old group in the local admins, ... > and thus my Computers OU underneath, but am not a domain admin and so am ... > practice would be to add a domain group to the local Administrators group ...
    (microsoft.public.windows.server.scripting)
  • Re: Add domain user to local group script troubleshoot
    ... If you use a batch file for the logon or startup script, ... For more information on launching VBScript logon scripts for various ... Note that a logon script runs with the permissions of the user, ... which only adds the domain group to the local group if it is not ...
    (microsoft.public.windows.server.scripting)
  • Re: Local Administrator Policy
    ... Below is a script that can be run as a machine startup script via ... The script first checks to see if the specified domain group ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: drive mapping with group membership
    ... Thank you verry much for the url, i wil use the logon3 script ... > dr-know wrote: ... >> i want to use 1 domain group policy with a logon script that maps the ...
    (microsoft.public.windows.server.scripting)