Solved

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

Posted on 2013-11-04
6
786 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 78

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 500 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

Suggested Solutions

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

730 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