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

Posted on 2013-11-04
Medium Priority
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,
Question by:srsysdoc
  • 3
LVL 81

Expert Comment

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.
LVL 14

Accepted Solution

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


And through powershell


Author Comment

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

LVL 14

Expert Comment

by:Ram Balachandran
ID: 39658428
Please comment the reason for deleting
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.

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A safe way to clean winsxs folder from your windows server 2008 R2 editions
In this article, we will discuss how you can secure Active Directory using free tools, and how you can choose a safe and secure Active Directory security auditing tool.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

597 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