Solved

How can I List Active Directory Computers' operating system property using Powershell

Posted on 2010-11-12
7
1,469 Views
Last Modified: 2012-05-10
I want to list Operating Systems of all Computers in Active Directory using PowerShell. Could you provide an exact script for it.
0
Comment
Question by:certuran
[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
  • 2
  • 2
7 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 250 total points
ID: 34123595
Take a look at this question I helped with

http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_26194877.html

I used adfind in my example but you can see that Chris used the Quest powershell cmdlets.

You can also see example 4 in the get-qacomputer help   http://wiki.powergui.org/index.php/Get-QADComputer#EXAMPLE_1

Thanks
Mike
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 34124146
The command you would want to use in

Get-qadcomputer -sizelimit 0 | select-object name, operatingsystem
0
 

Author Comment

by:certuran
ID: 34124497
This command "Get-qadcomputer -sizelimit 0 | select-object name, operatingsystem" did not give any result. What is Output file name?
And how can i pause the cmd mode in powershell?
By the way, the command you wrote above dear xxdcmast is a powershell command?
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
LVL 35

Expert Comment

by:Joseph Daly
ID: 34124523
The command above is a powershell command but it utilizes the Quest powershell cmdlets.
http://www.quest.com/powershell/activeroles-server.aspx
0
 

Author Comment

by:certuran
ID: 34124652
By the way adfind is great. easy and worked. And solved. :))
Do you have command guide dear mkline71.
0
 
LVL 57

Expert Comment

by:Mike Kline
ID: 34125361
a command guide for adfind?   Not really but look through the adfind help also he has a ton of great shortcuts

adfind -sc /? to see all those
0
 

Author Closing Comment

by:certuran
ID: 34128097
I will discover about adfind more. thanks.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

630 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