Answered by:
query active directory for windows 7 32bit computers

Question
-
I want to query the active directory for 32bit computers
How can I achieve this
Wednesday, October 9, 2013 9:57 AM
Answers
-
I believe the script below will provide what you need
http://techibee.com/powershell/get-operating-system-architecture32-bit-or-64-bit-using-powershell/689--
Paul Bergson
MVP - Directory Services
MCITP: Enterprise Administrator
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, Vista, 2003, 2000 (Early Achiever), NT4
Twitter @pbbergs
http://blogs.dirteam.com/blogs/paulbergsonPlease no e-mails, any questions should be posted in the NewsGroup. This posting is provided "AS IS" with no warranties, and confers no rights.
Wednesday, October 9, 2013 12:07 PM -
Since you want the 32 or 64 bit info, you may want quest the computer also. That information is not really in AD. Anyway, here are some scripts:
http://portal.sivarajan.com/2011/03/operating-system-infobatch-file.html
Systeminfo is a great command. You can get all computer info from AD and then validate against actual computer.
Here are some other scripts you may be able to use:
http://portal.sivarajan.com/2010/07/user-profile-and-os-info-powershell.html
http://portal.sivarajan.com/2011/07/move-computer-objects-based-on.html
Santhosh Sivarajan | Houston, TX
Windows 2012 Book - Migrating from 2008 to Windows Server 2012
http://www.sivarajan.com/
This post is provided ASIS with no warranWednesday, October 9, 2013 5:03 PM -
Hi,
In addition, here are some more links below that could be useful to you:
Query Active Directory with PowerShell and Run WMI Commands
32 or 64 bit?
I hope this helps!
Best Regards,
Amy Wang- Proposed as answer by pbbergs [MSFT] Friday, October 11, 2013 11:55 AM
- Marked as answer by Amy Wang_ Monday, October 14, 2013 1:13 AM
Friday, October 11, 2013 9:20 AM
All replies
-
I believe the script below will provide what you need
http://techibee.com/powershell/get-operating-system-architecture32-bit-or-64-bit-using-powershell/689--
Paul Bergson
MVP - Directory Services
MCITP: Enterprise Administrator
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, Vista, 2003, 2000 (Early Achiever), NT4
Twitter @pbbergs
http://blogs.dirteam.com/blogs/paulbergsonPlease no e-mails, any questions should be posted in the NewsGroup. This posting is provided "AS IS" with no warranties, and confers no rights.
Wednesday, October 9, 2013 12:07 PM -
Since you want the 32 or 64 bit info, you may want quest the computer also. That information is not really in AD. Anyway, here are some scripts:
http://portal.sivarajan.com/2011/03/operating-system-infobatch-file.html
Systeminfo is a great command. You can get all computer info from AD and then validate against actual computer.
Here are some other scripts you may be able to use:
http://portal.sivarajan.com/2010/07/user-profile-and-os-info-powershell.html
http://portal.sivarajan.com/2011/07/move-computer-objects-based-on.html
Santhosh Sivarajan | Houston, TX
Windows 2012 Book - Migrating from 2008 to Windows Server 2012
http://www.sivarajan.com/
This post is provided ASIS with no warranWednesday, October 9, 2013 5:03 PM -
Hi,
In addition, here are some more links below that could be useful to you:
Query Active Directory with PowerShell and Run WMI Commands
32 or 64 bit?
I hope this helps!
Best Regards,
Amy Wang- Proposed as answer by pbbergs [MSFT] Friday, October 11, 2013 11:55 AM
- Marked as answer by Amy Wang_ Monday, October 14, 2013 1:13 AM
Friday, October 11, 2013 9:20 AM