List Local Admin Group script AGAINST OU

Author Message
mariuszp

  • Total Posts : 4
  • Scores: 0
  • Reward points : 0
  • Joined: 5/26/2008
  • Status: offline
List Local Admin Group script AGAINST OU Monday, May 26, 2008 9:42 PM (permalink)
0
Greetings every1
I'm having problem with a critical task in my company.
We are part of a huge network group and own just one OU.
Under this OU we have 150 Computer accounts and I really can't see my self to visit each computer and check who's got local admin rights.

I did a look up on the internet to find out if there is a script to run.

However, all I found was a pcs of scripts to run against the WHOLE DOMAIN.

Could anyone just tell me if it is possible to adapt such a script to run against a particular OU ?

Could any1 tell me if this is at least possible, or what are the other methods / solutions I could do ?


Thank you in advance,
Mariusz
 
#1
    SAPIENScripter

    • Total Posts : 283
    • Scores: 2
    • Reward points : 0
    • Joined: 11/1/2006
    • Location: SAPIEN Technologies
    • Status: offline
    RE: List Local Admin Group script AGAINST OU Sunday, June 01, 2008 3:25 PM (permalink)
    0
    There are plenty of ways to do this from using ADSI to DSFIND.  I suppose the "right" way depends on what you need to do and what scripting/management tool you want to use: CMD, VBScript, PowerShell...
    Jeffery Hicks
    Windows PowerShell MVP
    SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com

    Follow Me: http://www.twitter.com/JeffHicks
     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9