Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , ,

Sponsored Links



Query Directory for 32 and 64 Bit OS

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 17-08-2009
Orbital
 
Posts: n/a
Query Directory for 32 and 64 Bit OS

Hi All,

I need to push the SHA2 patch to all my Windows 2003 servers, and XP
workstations. I've created some nice batch files to do this, but
being as there are x64 and x86 version of the patch, I need to run two
version of the command.

Please could someone tell me how I could query my AD to pull a list of
computers for each architecture?


Many thanks,
Orb,
Reply With Quote
  #2  
Old 17-08-2009
Greg Stigers
 
Posts: n/a
Re: Query Directory for 32 and 64 Bit OS

You say you are using a batch file. You could just evaluate
PROCESSOR_IDENTIFIER for x86, Intel64, or whatever you're running.
______
Greg Stigers, MCSE
remember to vote for the answers you like


Reply With Quote
  #3  
Old 18-08-2009
Cary Shultz
 
Posts: n/a
Re: Query Directory for 32 and 64 Bit OS

SELECT * FROM Win32_Processor where AddressWidth='32'
SELECT * FROM Win32_Processor where AddressWidth='64'


I create WMI Filters for several applications that we install via GPO where
there is a 32-bit app and a 64-bit app. "AddressLength" looks solely at the
processor, so if it is a 64-bit process it will *always* show up as
64-bit...not necessarily what you want.

HTH,

Cary


"Greg Stigers" <gregstigers+msnews@spamcop.net> wrote in message
news:%23fTNa11HKHA.4708@TK2MSFTNGP03.phx.gbl...
> You say you are using a batch file. You could just evaluate
> PROCESSOR_IDENTIFIER for x86, Intel64, or whatever you're running.
> ______
> Greg Stigers, MCSE
> remember to vote for the answers you like
>


Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Query Directory for 32 and 64 Bit OS"
Thread Thread Starter Forum Replies Last Post
Active Directory Query Richard Mueller [MVP] Active Directory 1 15-04-2010 08:55 PM
Turn on MySQL query cache to speed up query performance DMA2Superman Software Development 3 07-07-2009 11:26 AM
Query other active directory Eusebiu Active Directory 2 03-12-2008 09:55 PM
Active Directory and DMZ design query Zeno Active Directory 4 16-02-2008 11:48 AM
Query of active directory through a vbs script VERY slow. John G. Active Directory 3 27-01-2008 05:31 AM


All times are GMT +5.5. The time now is 05:34 PM.