| Author | Messages | |
neilruston
Posts:164
 | | 07/18/2008 10:37 AM |
| ... we need a boxing ring and some gloves at the next DEC/TEC :-)
________________________________
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brandon Shell Sent: 18 July 2008 15:14 To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] Domain Controller version
joe... there are only a very few that know what the APIs they are calling "REALLY" do. They can speculate, but unless you have source code access and the ability to comb through 1000s of sources files there is a point at which you need to trust.
Everyone that use adfind.exe has to place some level of trust in you. AFAIK... your the only one with the source. Are you suggesting that everyone stop using adfind.exe because they dont know how it works?
RE: What I posted. We have discuss this before. The impression the OP gave was that he just wanted the information. I posted how I knew he could it do it. End of story. Had he suggested this is something to be ran regularly then performance would have been a consideration.
On Fri, Jul 18, 2008 at 9:56 AM, joe <listmail@joeware.net> wrote:
Err didn't know it was a race Mr. Hare.
Kind of scary that you don't have an understanding of what your script is doing... What if you had a couple hundred or even a couple thousand DCs, you would have no clue how it would perform or what the possible issues might be that it runs into. I am being serious.
joe
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
________________________________
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brandon Shell
Sent: Friday, July 18, 2008 9:50 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] Domain Controller version
@joe, I dont think anyone would suggest that you perl script wouldn't be, as you put it "orders of magnitude" faster. Just more complex than needed by the time you posted it the powershell script was done.
To be clear here... I am not entirely sure how the .NET call actually works. It may very due what you suggest, but I am not certain.
On Fri, Jul 18, 2008 at 9:42 AM, joe <listmail@joeware.net> wrote:
Out of curiosity, how much faster was the perl script? I am wondering if it hit the orders of magnitude prediction.
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
________________________________
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Harding, Devon Sent: Friday, July 18, 2008 9:30 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Domain Controller version
Well, when you have some sites which work on their own IT schedule, it can be tough to keep up. Especially in a forest with over 15 domains and 50 domain controllers.
BTW, the powershell command worked great!
-Devon
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brian Desmond Sent: Thursday, July 17, 2008 10:53 PM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] Domain Controller version
The OP will still have less domains than DCs.
Personally I'd step back a step and inquire why the OP doesn't know these details already. I'd also be collecitng it from the boxes directly along with all the other pertinent information I'm guessing is not there since this data isn't.
Thanks, Brian Desmond brian@briandesmond.com
c - 312.731.3132
On Thu, Jul 17, 2008 at 7:04 PM, Brandon Shell <tshell@gmail.com> wrote:
Cause that is for the domain... he wants it for his forest.
On Thu, Jul 17, 2008 at 7:58 PM, joe <listmail@joeware.net> wrote:
Why? This data is in the directory, no need to go touch every DC which would take likely minutes instead of seconds.
Run this against every domain (replacing the -b switch as necessary)
adfind -b dc=domain,dc=com -f "&(objectcategory=computer)(primarygroupid=516)" operatingsystem operatingsystemversion operatingsystemservicepack -csv
joe
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
________________________________
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brandon Shell Sent: Thursday, July 17, 2008 12:50 PM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] Domain Controller version
I use domainControllerFunctionality on rootDSE, but that involves minor scripting.
On Thu, Jul 17, 2008 at 12:44 PM, Harding, Devon <dharding@southernwine.com> wrote:
I can use the following command to list all DCs in my forest, but what command can I use to get the version (2000 or 2003)?
dsquery server -o rdn -forest
Devon Harding
Windows Systems Engineer
Southern Wine & Spirits - BSG
954-602-2469
________________________________
This message is the property of Southern Wine & Spirits or its affiliates. It is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you.
Barclays Wealth is the wealth management division of Barclays Bank PLC. This email may relate to or be sent from other members of the Barclays Group.
The availability of products and services may be limited by the applicable laws and regulations in certain jurisdictions. The Barclays Group does not normally accept or offer business instructions via internet email. Any action that you might take upon this message might be at your own risk.
This email and any attachments are confidential and intended solely for the addressee and may also be privileged or exempt from disclosure under applicable law. If you are not the addressee, or have received this email in error, please notify the sender immediately, delete it from your system and do not copy, disclose or otherwise act upon any part of this email or its attachments.
Internet communications are not guaranteed to be secure or without viruses. The Barclays Group does not accept responsibility for any loss arising from unauthorised access to, or interference with, any Internet communications by any third party, or from the transmission of any viruses. Replies to this email may be monitored by the Barclays Group for operational or business reasons.
Any opinion or other information in this email or its attachments that does not relate to the business of the Barclays Group is personal to the sender and is not given or endorsed by the Barclays Group.
Barclays Bank PLC. Registered in England and Wales (registered no. 1026167). Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.
Barclays Bank PLC is authorised and regulated by the Financial Services Authority.
| | | |
|
|