?
Solved

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

Posted on 2013-11-04
6
Medium Priority
?
818 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 79

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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
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…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Suggested Courses
Course of the Month12 days, 23 hours left to enroll

777 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