?
Solved

Powershell Script to add Domain admin account on workstation Event Log Reader Service

Posted on 2013-11-04
6
Medium Priority
?
852 Views
Last Modified: 2013-12-10
Hi Experts,

           I am working domain environment and I am very new to scripting . I need a PowerShell script to add the domain admin account to event Log Reader service on all computers(Windows 7 OS) which are already a member of Active Directory.

   FYI I am attaching a picture where exactly I want to add a Domain Admin.

     Thanks you,
PIC.jpg
0
Comment
Question by:srsysdoc
  • 3
5 Comments
 
LVL 81

Expert Comment

by:arnold
ID: 39621266
Skip scripting, you can use GPO restricted groups on the computer configuration to add a group/user to be a member of this group.

Administrator/domain admins are commonly have this access.
0
 
LVL 14

Accepted Solution

by:
Ram Balachandran earned 1500 total points
ID: 39621276
Yes, this is recommended to manage via group policy than script as in group policy refresh this settings wille be reinforced also.

Here is the link how to manage it via group policy

http://community.spiceworks.com/how_to/show/2123-add-an-active-directory-group-to-the-local-administrator-group-of-workstation-s


And through powershell

http://blogs.technet.com/b/heyscriptingguy/archive/2010/08/19/use-powershell-to-add-domain-users-to-a-local-group.aspx
0
 

Author Comment

by:srsysdoc
ID: 39658427
I've requested that this question be deleted for the following reason:

none
0
 
LVL 14

Expert Comment

by:Ram Balachandran
ID: 39658428
Please comment the reason for deleting
0
 
LVL 14

Expert Comment

by:Ram Balachandran
ID: 39664883
This request need to be closed by specifiying any of the solution provided. Asker has not mentioned any solution, and requested for closing this question.
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Q_28284574.html#a39621276 has all the revelant informatiom to close this request.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A safe way to clean winsxs folder from your windows server 2008 R2 editions
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question